Simon Willison’s Weblog

Newsletter
Atom feed

Elsewhere

Filters: Sorted by date

A pretty sizable bugfix release for sqlite-utils, featuring contributions from Sanidhya Saluja, Caldera, Ilya Khalafi, Syed Ahnaf Raza, Pengyi Peng, Agustin Saiz, Yewan Moon, Zihan Dai, Tanbir Hossain Ramim, Peter Olkhovets, and LucioLiu.

I don't like pie charts or donut charts, so I left them out of datasette-charts - but then I needed to build a plugin to exercise the ability to add new chart types... and here we are!

Pie chart Donut chart Sunburst chart Rose chart

Here are live demos (in Datasette Lite) of Pie, Donut, Sunburst, Rose.

After some extensive prototyping, I added three new chart types to Datasette Charts:

  • Calendar heatmaps, where density of dates over a year is represented as a heatmap calendar.
  • Box plots, capturing the variance of a numeric value by representing the quartiles, median, minimum and maximum values.
  • Active over time, which detects start/end date pairs and uses them to determine how many records were active during different time periods.

Here's a calendar heat map demo in Datasette Lite, showing the publish dates of releases in the Datasette package ecosystem.

Calendar heatmap chart titled "Rows per day of published_at". A legend labeled "Rows" shows a color scale from pale blue to dark navy, marked 0, 5 and 10. Month labels run across the top: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec. Three year-long grids are stacked, labeled 2026, 2025 and 2024, each with one column per week and seven rows for days of the week, labeled Mon, Wed, Fri. Gray squares are days with no rows; blue squares get darker as the count rises. 2026 has activity scattered fairly evenly through the year, ending in late November. 2025 is busy from January to May, almost empty from June to mid-October, then has the single darkest square in the chart in late October followed by a dense cluster in November. 2024 is busiest of all from January to May, with sparser activity through the rest of the year.

The new datasette-charts plugin has its own plugin hook to allow other plugins to define new chart types, but I hadn't actually used it for anything yet. I had Claude Opus 5.5 build an experimental plugins just to try out the hook and it came up with a bunch of friction points in the design. This release addresses those, which should make building additional chart plugins a whole lot more ergonomic.

I've also added a website for the plugin, at charts.datasette.io. The new website includes a tutorial for plugin authors, and a gallery showing all of the core charts and annotations, each one linking to an interactive demo on Datasette Lite.

Screenshot of a documentation page section showing a two-by-two grid of cards, each with a chart screenshot, a heading, a description, a link and a collapsed disclosure. Heading: "Annotations". Intro text: "Notes drawn on a chart: lines, shaded ranges, callouts and text. They are part of the chart's spec, so they are kept in the link to the chart. Documentation for annotations." where "Documentation for annotations" is a link. Card 1: an area line chart titled "Rows per quarter of published_at", y-axis labelled "↑ Rows" with ticks 0, 20, 40, 60, 80, 100, 120, 140, 160 and x-axis ticks 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, with a vertical dashed line just before 2023 labelled "Datasette 1.0a0"; the line peaks near 150 in mid 2020 and near 138 in early 2023. Caption "SCREENSHOT". Heading "A line at an x value". Text "A dashed line across the chart at a date, here the day of a release." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 2: a stacked bar chart titled "Rows per year of upload_time by packagetype", legend "bdist_wheel" (blue) and "sdist" (orange), y-axis labelled "↑ Rows" with ticks 0, 100, 200, 300, 400, 500, 600 and x-axis ticks 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, with a solid red horizontal line at 500 labelled "500 uploads a year"; the bars for 2020, 2021 and 2023 rise above the line. Caption "SCREENSHOT". Heading "A line at a y value". Text "A reference line at a value, drawn solid and in red." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 3: a blue histogram titled "Distribution of latitude", y-axis labelled "↑ Rows" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, 6,000, 7,000, 8,000 and x-axis labelled "latitude →" with ticks −80, −60, −40, −20, 0, 20, 40, 60, with a grey shaded band from roughly −23 to 23 labelled "The tropics"; the tallest bar is just above 7,000 at around 40. Caption "SCREENSHOT". Heading "A shaded range". Text "A band between two x values, on a histogram." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 4: a scatter plot of blue dots titled "generation_gwh_2017 against capacity_mw", y-axis labelled "↑ generation_gwh_2017" with ticks 0, 5,000, 10,000, 15,000, 20,000, 25,000, 30,000, 35,000, 40,000 and x-axis labelled "capacity_mw →" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, showing an upward trend, with one black dot at the far right near 5,400 capacity and 31,000 generation joined by a short line to the label "Gravelines, France". Caption "SCREENSHOT". Heading "A callout on a point". Text "A dot on one data point with a line to its label. On a scatter plot the callout gives both x and y." Link "Try this demo yourself". Disclosure "▶ Chart spec".

Sighting 11:59 AM – 1:19 PM — Say's Phoebe, American Avocet, Forster's Tern, Black-necked Stilt, Snowy Egret, Red-winged Blackbird, in Napa River Watershed, US, CA
Say's Phoebe
Say's Phoebe
American Avocet
American Avocet
American Avocet
American Avocet
American Avocet
American Avocet
Forster's Tern
Forster's Tern
Forster's Tern
Forster's Tern
Black-necked Stilt
Black-necked Stilt
Snowy Egret
Snowy Egret
Red-winged Blackbird
Red-winged Blackbird

Comment My comment on The New York Times warns photographers not to update Photoshop over AI features — Hacker News

I had a NYT photographer take my picture at my home earlier this year (for a story about Moltbook, oddly enough). At one point I asked if they could fix things up if I had a stain on my shirt and they said absolutely not - they present photographs as they were taken, with cropping and balancing applied but no edits beyond that.

He did spend a bunch of time trying to find the best possible natural lighting for the shots he wanted.

The photo at the top of https://www.nytimes.com/2026/02/02/technology/moltbook-ai-so... is my laptop, taken in my garden, after hunting around for the best spot that didn't have too much glare on the screen. You can see how dirty my screen is, too!

Photography for a newspaper is photo journalism, and they take it seriously.

(Thankfully I did not have a visible stain on my shirt.)

# 26th November 2026, 5:08 am / photography, new-york-times, hacker-news, journalism

Sighting 1:23 PM – 2:20 PM — California Brown Pelican, Black-crowned Night Heron, American Crow, in Alameda Island, CA, CA, US
California Brown Pelican
California Brown Pelican
Black-crowned Night Heron
Black-crowned Night Heron
American Crow
American Crow

I added chart annotations to datasette-charts!

You can now render a chart and then annotate it with lines, shaded areas, labels, or a combination of the three.

A chart with annotations looks like this:

Screenshot of an annotated bar chart with the y-axis label "↑ Total capacity_mw", showing blue bars for each decade from 1950 to 2010. Capacity is low in the earlier decades, then jumps sharply for 2000 and 2010. The chart carries three annotations: a gray shaded band across 1950 to 1990 with the note "Much smaller summed capacity in earlier decades", a dot on top of the 2000 bar labeled "Largest decade total in these records: 1.157 million MW", and a dashed horizontal line labeled "1,000,000 MW reference". A caption below reads "Global plant records with commissioning years 1950–2019; coverage and missing years may affect comparisons."

Here's that same chart in Datasette Lite, where you can tweak the annotations using the chart builder UI:

Animated screen recording of an "Edit annotation" dialog for a chart titled "Total capacity_mw by decade". A form on the left has fields for "Kind", "Capacity_mw", "Label (optional)", "Label position", "Color" and "Line style", and a "PREVIEW" panel on the right shows a blue bar chart of total capacity by decade from 1950 to 2010, with a dashed horizontal line labeled "1,000,000 MW reference". The preview updates live as the user edits: changing the Capacity_mw value from "1000000" to "900000" and then "800000" moves the dashed line down the chart in step, and editing the label text, first adding an exclamation mark, then removing it and deleting the word "reference", changes the label on the line to "1,000,000 MW reference!" and finally "1,000,000 MW". The user then clicks the "Save" button.

If you also install Datasette Agent the agent can build annotated charts for you. Here's what I got on the agent.datasette.io demo for this prompt:

Show a chart comparing Simon's tagged content about LLMs with his tagged content about Datasette, with annotations

Screenshot of a chat-style AI agent interface that has produced a chart in response to a question. At the top is a collapsed reasoning line reading "Thinking: …26 partial year is labeled correctly in the output. Let's go with this approach!" followed by a collapsed tool call labeled "chart". Below that is a line chart titled "Total content_count per year by topic", with a legend for "LLMs" (blue) and "Datasette" (orange), the y-axis label "↑ Total content_count" and years 2017 to 2026 on the x-axis. The Datasette line stays low throughout, with an annotation "Datasette peak year" pointing at 2020. The LLMs line sits near zero until 2022, then climbs steeply to a peak in 2025 before dropping in 2026, with an annotation "LLM-tagged content rises" pointing at 2023. A note on the chart reads "Counts include posts, notes and links; 2026 is year-to-date." Under the chart are the controls "Open in the chart builder", "Copy link", "This chart's SQL", "Copy TSV" and "Copy CSV". Another collapsed reasoning line reads "Thinking: …rends start low for LLMs in 2020, and they're projected to rise sharply by 2026." The agent's reply then says: "The chart compares annual counts of non-draft posts, notes, and link posts tagged with LLM-related terms or Datasette-related terms. The annotations mark Datasette's peak year (2020) and the sharp rise in LLM-tagged content beginning in 2023. 2026 is year-to-date." At the bottom is a message box with the placeholder "Type a message... (# to tag a table or query)" and a "Send" button.

Minor UI improvements:

  • Collapsing the suggested charts section now leaves the chart visible.
  • Following a link to a chart opens it with the suggestions collapsed for that visit.
  • On table pages the panel now sits below the "4,235 rows where country = CHN" line.
  • The "Data" table under each chart has been replaced by Copy TSV and Copy CSV buttons.
  • Removed the "Chart this data" item from the table, view and query action menus.
  • More space between lines in chart tooltips.

I introduced this new charting plugin for Datasette yesterday. Today it's gained integration with Datasette Agent, so now you can ask chat for a chart and it will create one for you using the same underlying chart suggestion and generation tools.

Here's a demo video, recorded on agent.datasette.io where you can sign in with GitHub to try the plugin yourself:

I prompt Datasette Agent to "Use #stats to show sqlite-utils downloads over time as a chart" - where typing "#stats" opens a table search box. It shows me a chart inline in the chat, and when I click "Open in the chart builder" it opens the chart in a panel along with the table page. I use the table page to switch to a chart of "datasette", then when I ask the agent "what does the chart show?" it notices that I changed the content in the panel and describes the new Datasette chart to me.

Here's a Markdown export of the chat from the video.

A small improvement to Datasette Agent: chat sessions could already open an iframe side panel that could then navigate to different pages. This version improves navigation by fragment hashes, for deeper integration with other Datasette plugins that update fragment hashes when the user interacts with the plugin in a way that changes state.

I built this in order to fix some bugs with the much more exciting datasette-charts 0.2a0 release.

Sighting 5:02 PM – 5:03 PM — Pacific Harbor Seal, California Sea Lion, in Pillar Point Harbor, CA, US
Pacific Harbor Seal
Pacific Harbor Seal
California Sea Lion
California Sea Lion

I've been thinking about this problem for over a year now, but on Sunday I finally fired up Claude Fable 5.2 to build an initial prototype. The prototype went so well that this is now a full plugin.

You can try it out in Datasette Lite here. It looks like this:

Screenshot of a Datasette table page for a "stats" table showing a new Charts panel. A row of suggested chart thumbnail cards sits at the top, each with a small preview, a title and a plain-English description: "Total downloads per week of date", "Total downloads by package", "Distribution of downloads", "Total downloads per week of date by package" (selected) and "Rows per week of date". A note says suggestions are based on a sample of rows while charts use every row. Below, the selected chart is shown full size as a multi-series line chart of total downloads over time, with a color legend for sqlite-utils, csv-diff, datasette, llm, shot-scraper and Other. A sidebar on the right has dropdowns for Chart type (Line chart), Time (date, per week), Value (downloads, show Total) and Split by (package, keep top 5), plus a checked "Group the rest as Other" option. Under the chart are a "View and edit this chart's SQL" link, a "Copy link to this chart" button, an expandable Data section and a Close button.

The new charts plugin works against any table or arbitrary SQL query in Datasette. It defines several different chart types (using vendored D3, Observable Plot, and topojson-client), each with a set of heuristics for identifying when they might be a good match for a specific set of rows.

Those suggestion thumbnails at the top are actual visualizations driven by the data, and selecting one pulls up the full chart along with tools for modifying it. You can also manually construct a chart from scratch.

As with other Datasette visualization plugins, the current state of your chart is persisted in a #fragment in the URL - so you can bookmark charts or share them with others.

The most important feature is that the charts take all rows into account. Previous charting plugins like datasette-vega would only show charts for the current page of results, generally up to 100 rows.

The new plugin compiles each chart to a SQL query that aggregates across the entire result set (potentially millions of rows) using GROUP BY, time bucketing, and window functions. Each query returns a result capped at 5,000 rows, suitable for display on the chart. The plugin uses sampling to help suggest charts for larger tables without evaluating the full result set.

I'm really happy with this initial release of the plugin. It's still very much an alpha, but it's the closest I've got to the dream of Datasette helping visualize data with as little required direction from the user as possible.

I got frustrated at how HTML <select> boxes default to looking different in different browsers, and are (I think) quite ugly in Chrome:

The same select box in Chrome, Safari, and Firefox, Chrome is white with a black border. Safari is grey with no border. Firefox is gray with a black border. They are all slightly different sizes.

So I had Claude Fable 5.2 build me this page showing all of the ways they can be styled:

Build an HTML page that shows all of the ways a select box can be styled, I plan to take screenshots in every desktop and mobile browser

After some experimentation I've decided my favorite CSS for select boxes is this:

select {
  appearance: none;
  color: #1f2933;
  padding: 0.5em 2.25em 0.5em 0.75em;
  border: 1px solid #c4cbd3;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.75em center / 0.75em;
}

Here's what that looks like in the three browsers:

Now the select box is the same in all three browsers - it has a rounded corner grey border and a grey downward facing arrow in each one.

Sighting 3:06 PM – 3:27 PM — Great Blue Heron, Western Grebe, California Sea Lion, Pacific Harbor Seal, California Brown Pelican, in Monterey Bay National Marine Sanctuary, CA, US, CA
Great Blue Heron
Great Blue Heron
Western Grebe
Western Grebe
California Sea Lion
California Sea Lion
Pacific Harbor Seal
Pacific Harbor Seal
California Brown Pelican
California Brown Pelican
California Brown Pelican
California Brown Pelican
Great Blue Heron
Great Blue Heron
Sighting 4:45 PM – 4:52 PM — California Sea Lion, California Brown Pelican, Great Blue Heron, Osprey, in Monterey Bay National Marine Sanctuary, CA, US, CA
California Sea Lion
California Sea Lion
California Brown Pelican
California Brown Pelican
Great Blue Heron
Great Blue Heron
Osprey
Osprey
Osprey
Osprey

Gemini 4 Carbon only supports low, medium and high reasoning levels - but Gemini 4 Hydrogen and Gemini 4 Neon both have an extra xhigh level.

I missed that when I added those models to the llm-gemini plugin, which is now fixed in this dot release.

The xhigh setting for Hydrogen makes a significant difference. I updated my Gemini 4 comparison grid - note how Hydrogen at high used 5,311 output tokens and cost 3.99 cents, but the same model at xhigh used 31,477 output tokens, cost 23.61 cents, and produced a pelican that's competitive with Gemini 4 Neon:

Screenshot of a comparison table of illustrations of a pelican riding a bicycle, generated by three models at two thinking levels. Column headers: Thinking, gemini-4-carbon, gemini-4-neon, gemini-4-hydrogen. Row XHIGH: gemini-4-carbon cell is empty and reads "Unsupported". gemini-4-neon shows a detailed white pelican with a large orange beak riding a red cruiser bicycle along a beachside road, a fish in the wicker basket on the handlebars, with sea, a sailboat, clouds and sun behind, captioned "40 input tokens, 26,546 output = 39.83 cents · 3m 47s". gemini-4-hydrogen shows a similar pelican on a teal bicycle on a sandy beach with a blue fish in the basket, captioned "40 input tokens, 31,477 output = 23.61 cents · 2m 36s". Row HIGH: gemini-4-carbon shows a pelican wearing a sailor hat riding a red cruiser bicycle with a fish in the basket beside the sea, captioned "40 input tokens, 20,305 output = 20.31 cents · 4m 11s". gemini-4-neon shows a pelican on a simpler red bicycle on a dark asphalt road with yellow dashed lines and the sea behind, captioned "40 input tokens, 9,691 output = 14.55 cents · 1m 11s". gemini-4-hydrogen shows a plainer, flatter pelican on a red bicycle over a green strip of ground with no basket or sea, captioned "40 input tokens, 5,311 output = 3.99 cents · 19s".

Today Google introduced Gemini 4 Neon. I wrote recently about how confusing the pricing for the Gemini 4 series was - Neon has somehow made this even worse.

Previously the Gemini 4 lineup was Hydrogen, Argon, and Carbon - where Argon and Carbon were the same price, and Hydrogen was 3/4 of that price now but will be 1/4 of that price when the other two double an 1st December once their initial discount pricing expires.

The Neon announcement pretends that Argon doesn't exist. Here's their new image explaining the model line-up:

Comparison table slide titled "Gemini 4 - Our next era of frontier intelligence" with three model columns, Carbon, Neon and Hydrogen, where the Neon column is highlighted with a blue outline. Best For: Carbon - Hardest long-horizon projects and deep research; Neon - Deep reasoning across software engineering, knowledge work, and science; Hydrogen - Speed and efficiency in everyday coding and agentic workflows. Quality (Artificial Analysis Index): Carbon 60, Neon 61, Hydrogen 54. Price ($/1M In / Out (1M flat)): Carbon $4 / $20*, Neon $3 / $15, Hydrogen $1.50 / $7.50. Thinking levels: Carbon - Low, medium, high; Neon - Low, medium, high, xhigh; Hydrogen - Low, medium, high, xhigh. Speed (shown as rocket icons out of five): Carbon 2, Neon 3.5, Hydrogen 5. Subscriptions: Carbon - Google AI Ultra; Neon - Google AI Pro & Ultra; Hydrogen - For Everyone. Availability: Carbon - Gemini API in Google AI Studio (paid), Gemini for business, Google AI Ultra: Gemini app, Google Antigravity, AI Mode in Search; Neon - Gemini API in Google AI Studio (paid), Gemini for business, Google AI Pro & Ultra: Gemini app, Google Antigravity (paid); Hydrogen - Gemini API in Google AI Studio (all tiers), Gemini for business, Gemini app, Google Search, Google AI Pro & Ultra: Google Antigravity (paid). Footnote: *$2 / $10 promo through Nov 30. Dated 18 November 2026.

So the lineup now, from most to least expensive, is Carbon, Neon, Hydrogen.

Except Carbon is currently half price, so right now Neon ($3/million input, $15/million output) is the most expensive of the three - then Carbon ($2/$10), then Hydrogen ($1.50/$7.50). I guess this will make more sense when Carbon doubles to $4/$20 on December 1st.

I ran some pelicans through the three reasoning levels for Neon - low, medium, high.

I dropped Argon from my Gemini 4 comparison grid - here's the new Gemini 4 lineup, where the Neon pelicans do look better than Hydrogen and worse than Carbon:

Comparison grid of nine flat vector-style illustrations of a pelican riding a red bicycle, arranged as a table with three model columns and three thinking-level rows. Column headers: Thinking, gemini-4-carbon, gemini-4-neon, gemini-4-hydrogen. Row HIGH: gemini-4-carbon is the most detailed of all, a pelican in a sailor cap on a red cruiser bike with fenders, chain guard and a wicker basket holding a fish, on a beach promenade with ocean, sun, clouds and distant birds, captioned "40 input tokens, 20,305 output = 20.31 cents · 4m 11s"; gemini-4-neon is a clean, well-proportioned pelican on a simpler red bike on a road with a yellow dashed line and the sea behind, captioned "40 input tokens, 9,691 output = 14.55 cents · 1m 11s"; gemini-4-hydrogen is a plainer pelican on a basic red bike with speed lines, flat green ground and a pale sky, captioned "40 input tokens, 5,311 output = 3.99 cents · 19s". Row MEDIUM: gemini-4-carbon adds a red striped scarf blowing in the wind plus the sailor cap, cream fenders, a basket and a beach with a rope fence, captioned "40 input tokens, 11,020 output = 11.03 cents · 1m 53s"; gemini-4-neon has a basket with a fish, green hills and a grey road, captioned "40 input tokens, 7,846 output = 11.78 cents · 54s"; gemini-4-hydrogen is a simple pelican and bike on a flat green strip with faint clouds, captioned "40 input tokens, 3,964 output = 2.98 cents · 17s". Row LOW: gemini-4-carbon is still richly detailed with cap, scarf, basket, a seaside railing and a road, captioned "40 input tokens, 9,153 output = 9.16 cents · 1m 34s"; gemini-4-neon is a simpler pelican on a bike with no basket, on a road edged with grass, captioned "40 input tokens, 4,974 output = 7.47 cents · 43s"; gemini-4-hydrogen is the most minimal, a basic pelican and thin-framed bike over a single green line on a plain pale background, captioned "40 input tokens, 2,996 output = 2.25 cents · 10s". Overall, detail and polish drop from carbon to neon to hydrogen and, less sharply, from high to low thinking, while every image remains a recognisable pelican on a bicycle.

As I've done with several recent models, I also fired the following prompt against Gemini 4 Neon on "extra" effort level in Google Antigravity:

Make a three js animation where yonkers stands up as a big mech (cool stand up motion) and stomps around manhattan and queens and Brooklyn, use openstreetmap mapping data

Here's the result.

Datasette 1.0a43 added the ability for plugins to implement streaming export formats. Datasette core supports streaming CSV and TSV - you can export millions of lines of data from a table without needing to load it all into memory, because those two file formats support streaming data in chunks. The register_output_renderer() plugin hook can now be used to implement the same pattern for other formats.

I've learned never to release a new plugin feature without accompanying it with a plugin that uses it.

Claude Fable 5.2 suggested the Apache Arrow streaming format as a good option, and built this plugin in almost a single shot.

Add the plugin to Datasette (datasette install datasette-arrows) and the export dialog gains this new Arrow option:

Export data modal for the threads table. The TSV and CSV exports are now joined by Arrow, showing "All 927 rows" and the text Apache Arrow IPC stream, for DuckDB, pandas, Polars and other tools. There is a Download button and a Copy URL button.

This screenshot is from Datasette's main branch - the most recent release doesn't yet group streaming formats such as Arrow with the TSV and CSV in the "All rows in this table" section, but that's coming in the next alpha release.

Sighting 5:20 PM – 5:43 PM — Common Raven, California Sea Lion, in San Mateo County, CA, US
Common Raven
Common Raven
Common Raven
Common Raven
California Sea Lion
California Sea Lion

A bug fix release for LLM, mainly to cover a problem with the most recent Homebrew package of the software.

Homebrew now ships the latest SQLite, 3.54.1, which includes a fix that broke LLM's logging code.

Short version: in SQLite 3.54.0 the following SQL:

select json_object('a', (select json_array(1)))

Returns this:

{"a":[1]}

But in 3.54.1 the same query returns this:

{"a":"[1]"}

According to D. Richard Hipp:

That was a bug fix. Per the documentation, (SELECT json_array(...)) returns SQL text, not JSON. Hence the 3.54.1 behavior is correct and 3.54.0 was a bug.

The workaround looks like this:

select json_object('a', json((select json_array(1))))

The first new Datasette geospatial plugin in quite a while! This one combines the excellent MapLibre GL library with OpenFreeMap, the free vector map server operated by Zsolt Ero (you should sponsor Zsolt on GitHub.)

I built most of this with a single prompt to Claude Fable 5.2:

Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have

"Be creative and think outside the box" resulted in a few neat ideas - my favorite is that it displays SVG previews of GeoJSON shapes, then loads a WebGL preview only when they scroll into view.

I also had Claude build a comprehensive demo which works in the latest Datasette Lite, so you can visit this link to load the plugin and a demo database in your browser via Pyodide and WebAssembly.

I like this demo page showing both GeoJSON shapes and lat/lon points on the same map:

Screenshot of a web map interface. Toolbar: "View" set to "Clusters", "Colour by" set to "continent", plus "Filter to this area" and "Download GeoJSON" buttons. A world map shows countries outlined and shaded by continent, with coloured dots and numbered cluster circles. A popup for a point in South America reads: capital Caracas, country Venezuela, continent South America, capital_population 2985000, latitude 10.502944, longitude -66.918983. Legend: Africa (52), Asia (45), Europe (39), North America (16), South America (13), Oceania (6). Text: "All 171 rows are on the map". Below, a table with columns country, continent, capital_population, latitude, longitude, boundary. First row: Afghanistan, Asia, 3277000, 34.518636, 69.181314, with a small map in the boundary column showing Afghanistan outlined and shaded in blue.

I've been leaning hard into Claude Fable 5.2 to help knock things off the 1.0 milestone, which is now 53% complete.

The biggest 1.0 item in this release is streaming support for output renderers - the built-in TSV and CSV export mechanisms now use this as well, and plugins can register themselves as capable of streaming every row in a table in one go via the new Response.stream() method.

There are a couple of security fixes, one of which I deemed deserving of a GitHub advisory: private stored queries could be exposed, granting access to the title and SQL of the query (but not allowing that query to be executed).

There are dozens of smaller improvements. The row page JSON representation finally has a design suitable for 1.0. A new <datasette-copy-button> Web Component provides copy-schema in various places. JSON in columns on the row page can be pretty-printed. There's a new DatasetteModal.confirm() JavaScript utility method. Plus dozens of bug fixes, including contributions by Zihan Dai, Peter Olkhovets, Ilya Khalafi, and Ankita Advitot.

The feature I'm most excited about is a pretty tiny one: I've added CSS multi-page view transitions to Datasette! Here's the commit - key CSS is as follows:

/* Enable cross-document view transitions,
   for anyone without prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}
/* .facet-results should morph from old position to new */
html:active-view-transition .content > .facet-results {
    view-transition-name: facet-results;
}
/* So should a .table-wrapper, provided it contains .rows-and-columns */
html:active-view-transition .table-wrapper:has(> table.rows-and-columns) {
    view-transition-name: rows-table;
}

With that in place, navigations within Datasette - still staunchly a multi-page application - feel more like an SPA. This works on Safari and Chrome at the moment and I believe supports for Firefox is due to land in Firefox 162 on December 8th 2026 (seeing as they are no longer feature-flagged in Firefox Nightly.)

I backported a minor security fix from 1.0a43:

Fixed a security issue where a database registered using add_database(db, name=..., route=...) with a route that differs from its name could be downloaded from /<route>.db by actors who were denied access to it. [...]

Sighting 11:56 AM – 12:33 PM — Yellow-eyed Ensatina, California Newt, Pacific Newts, in San Mateo County, CA, US
Yellow-eyed Ensatina
Yellow-eyed Ensatina
California Newt
California Newt
Pacific Newts
Pacific Newts
Pacific Newts
Pacific Newts

Datasette Apps are sandboxed HTML and JavaScript applications that live inside Datasette - think Claude Artifacts, but these ones can run SQL queries against your data.

0.4a0 adds support for linking: you can link to an app with #fragments in the URL and the app can see and use those, plus supported URL schemes are reported back to Datasette Agent so it can help write apps that link to each other.

This means you can have e.g. an app that shows details about a specific record, and a completely separate app that searches those records and links to their representations in the first app.

Accumulated small fixes for Datasette Agent, my agent plugin for Datasette that lets you ask questions about your data. Most notably, it now adds an agent prompt directly to the Datasette homepage, with support for hash-mentions of tables and queries:

Datasette homepage. Below the search box is a Datasette Agent heading with a text input and an ask button. User has typed: Tell me about #re - the box is showing autocomplete results for the repos and releases tables.

datasette-llm is the intermediate plugin for Datasette that supports configuring LLMs for use with other Datasette plugins.

This release adds support for OpenAI-compatible endpoints, so you can configure Datasette to use an LLM hosted anywhere that talks the OpenAI pseudo-standard web protocol.

This means that if you're running local models with LM Studio or Ollama or llama.cpp (which just hit v1.0.0) you can run Datasette via uvx like this:

wget https://datasette.io/content.db

uvx --with datasette-agent datasette \
  --root --secret 1 \
  -s plugins.datasette-llm.default_model '{
    "model": "lmstudio-qwen",
    "model_name": "qwen/qwen3.8-27b",
    "api_base": "http://localhost:1234/v1"
  }' content.db

And you'll get a local server running a Datasette Agent instance powered by your local model!

Screenshot of a chat interface. Header bar reads "home" on the left and "root" with a hamburger menu icon on the right. Below is a back arrow, the heading "Chat", a model label "lmstudio-qwen" and an "EXPORT" button. A blue user message bubble says "how many repos and how many releases are there?" Below it is a collapsed tool call "list_databases_and_tables" and an expanded tool call "sql_query". Its REQUEST section shows database "content", display "both" and the SQL: SELECT (SELECT COUNT(*) FROM repos) AS repo_count, (SELECT COUNT(*) FROM releases) AS release_count. Its RESPONSE section shows columns repo_count and release_count with a single row of 200 and 1889. Below that is a table with columns repo_count and release_count and one row: 200, 1889, followed by a "View SQL query" button. The assistant reply reads "There are 200 repos and 1,889 releases in the content database." At the bottom is a text input with placeholder "Type a message... (# to tag a table or query)" and a blue "Send" button.