Datasette Charts: charts that aggregate every row

Simon Willison's datasette-charts plugin, now at 0.5a0, adds a suggested-charts panel to every Datasette table, view and SQL query page.

Datasette users can now get a chart of a table or query without writing a spec: the datasette-charts plugin adds a Suggested charts panel to every table, view and SQL query page, picked from the shape of the data. The project page lists 0.5a0, from November 28, 2026, as the latest release, and Simon Willison demoed it on video on December 2.

The detail that matters for anyone who has trusted a chart in this space before is coverage. In his release post for the first alpha (Nov 23, 2026), Willison says earlier plugins like datasette-vega charted only the current page of results, generally up to 100 rows. The new plugin compiles each chart to a SQL query that aggregates the whole result set with GROUP BY, time bucketing and window functions. Chart state lives in the URL fragment, so a chart can be bookmarked or shared.

The page lists nine chart types, including line, bar, histogram, scatter, map, calendar heatmap, box plot and an "active over time" chart for rows with a start and an end. Scatter plots and maps switch to a binned heatmap or grid cells for large sources. The documentation also covers an HTTP API and tools for Datasette Agent.

Our reading: if your agents or scripts already dump results into SQLite, this is a cheap way to see a whole dataset before you ask a model to reason about it: the chart you open aggregates every row, even though the thumbnails for large tables are picked from a sample. A skewed distribution or a gap in a time series is easier to spot in a chart than in a page of rows.

The limits come from Willison himself, in the first-alpha post. He calls the plugin "still very much an alpha", each compiled chart query returns a result capped at 5,000 rows for display (a cap on the aggregated output, not on the rows it counts), and suggestions for large tables come from sampling rather than the full result set. In our reading, that means a pattern that lives in a small slice of a big table may never show up as a suggested thumbnail, though the chart you then open still aggregates every row.

Try it: run datasette install datasette-charts in the environment where you already run Datasette, then open a table you know well. Our suggestion for checking it reads all rows: compare a suggested bar chart's totals against a count(*) query grouped by the same column.

Sources