datasette-charts 0.1a0 plots full Datasette result sets, not one page

On 23 November 2026 Simon Willison announced datasette-charts, a new charting plugin for Datasette, released as an alpha (0.1a0). The author says the problem had been on his mind for over a year. On Sunday he finally fired up Claude Fable 5.2 to build an initial prototype, and it went so well that it became a full plugin.
The plugin works against any table or arbitrary SQL query in Datasette. It defines several chart types, built with vendored D3, Observable Plot and topojson-client. Each type comes with a set of heuristics for spotting when it suits a particular set of rows. At the top of the page the plugin shows suggestion thumbnails, and these are real visualizations driven by the data. Selecting one opens the full chart along with tools for modifying it. A chart can also be constructed manually from scratch. As with other Datasette visualization plugins, the current state of the chart is stored in a #fragment in the URL, so charts can be bookmarked or shared.
The author calls the most important feature the fact that the charts take all rows into account. Earlier charting plugins such as datasette-vega only charted the current page of results, generally up to 100 rows. The new plugin instead 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, which is suitable for display on a chart. For larger tables, the plugin uses sampling to help suggest charts without evaluating the full result set.
The author says he is really happy with this initial release. It is still very much an alpha, but it is the closest he has come to the dream of Datasette helping visualize data with as little required direction from the user as possible. A live demo runs in Datasette Lite.
Key facts
- datasette-charts 0.1a0 is a new Datasette plugin that builds charts for any table or arbitrary SQL query.
- Charts are compiled to SQL that aggregates over the entire result set (potentially millions of rows) using GROUP BY, time bucketing and window functions; each query returns at most 5,000 rows.
- Earlier plugins such as datasette-vega charted only the current page of results, generally up to 100 rows.
- The plugin suggests charts as data-driven thumbnails, uses sampling on larger tables, and stores chart state in the URL #fragment for bookmarking and sharing.
- The author built the first prototype on a Sunday with Claude Fable 5.2 and describes the release as very much an alpha.
Why it matters
Charting in Datasette has so far meant looking at one page of rows. Charting the full result set changes what a chart can honestly show: a bar chart of a table with millions of rows now reflects all of them, not the first 100 or so. The author also frames the plugin as the closest yet to Datasette helping visualize data with as little direction from the user as possible, since it proposes charts itself from heuristics over the rows.
Who it affects
People who explore data in Datasette: anyone browsing a table or running an arbitrary SQL query and wanting a quick picture of it. Users of datasette-vega, which charts only the current page of results, are the obvious comparison. Because chart state lives in the URL fragment, people who share findings with others can pass along a link.
How to use it
The author points to a demo in Datasette Lite, where the plugin can be tried without setting anything up. In the interface, suggestion thumbnails at the top show real visualizations of the data; selecting one opens the full chart with tools for modifying it. You can also build a chart manually from scratch. Bookmark or share the URL to keep a chart's state. No installation instructions, license or repository link appear in the text.
How solid is it
This is a first-party announcement by the plugin's author, and he calls it very much an alpha. The technical claims are specific: each chart compiles to one SQL query, results are capped at 5,000 rows, and sampling is used for suggestions on large tables. No performance figures (query times, benchmark results) are given for million-row tables. The source does not say how much of the plugin's code was written by Claude Fable 5.2 versus by hand.
Risks and caveats
The 0.1a0 label signals an early release, and no release timeline or roadmap for a stable version is given. The 5,000-row cap applies to each chart's query result, and chart suggestions on larger tables rely on sampling rather than the full result set. The source does not list the chart types by name, so coverage of the types you need is unconfirmed.
“The most important feature is that the charts take all rows into account.”
— Simon Willison, simonwillison.net