News ·
datasette-charts 0.1a0
Simon Willison released datasette-charts 0.1a0, an alpha charting plugin for Datasette built with help from Claude Fable 5.2, which visualizes any table or SQL query.

Simon Willison released datasette-charts 0.1a0, an alpha charting plugin for Datasette, after prototyping it in a session with Claude Fable 5.2. The plugin works against any table or arbitrary SQL query in Datasette and can be tried in Datasette Lite. It is still an early alpha release.
The plugin defines several chart types using vendored D3, Observable Plot, and topojson-client, each with heuristics for matching chart types to a set of rows. It shows suggestion thumbnails that are real visualizations driven by the data; selecting one opens the full chart with modification tools, and charts can also be built from scratch. Chart state is persisted in a URL fragment so charts can be bookmarked or shared. Unlike earlier plugins such as datasette-vega, which only charted the current page of results (roughly 100 rows), the new plugin compiles each chart to a SQL query that aggregates the entire result set using GROUP BY, time bucketing, and window functions, with results capped at 5,000 rows. It uses sampling to suggest charts for larger tables without evaluating the full result set.
For people building with AI, this is a concrete example of an LLM-assisted coding session producing a working plugin for a long-considered problem. It also demonstrates a pattern for AI-driven data exploration: using heuristics and sampling to automatically suggest useful visualizations of large datasets with minimal user direction.
References
- Simon Willison · simonwillison.net
Read the full story at Simon Willison ↗Like, save or discuss on Buzz


