Simon Willison releases an alpha version of the datasette-charts plugin for automatic data visualization in the Datasette tool
Simon Willison has released an alpha version of the datasette-charts plugin for the Datasette tool, developed with the help of the Claude Fable 5.2 model. The plugin automatically suggests and renders charts over any table or SQL query, including aggregations across millions of rows.
Simon Willison has released the first alpha version (0.1a0) of the datasette-charts plugin for the Datasette tool, which is used for browsing and querying SQLite databases. According to the author, the prototype was built over a weekend with the help of the Claude Fable 5.2 model as a development assistant, and the result was functional enough that it became a full-fledged plugin. It can be tried online in Datasette Lite.
The plugin works over any table or custom SQL query in Datasette. It uses the D3, Observable Plot, and topojson-client libraries and includes heuristics that automatically suggest suitable chart types for a given dataset in the form of thumbnails; selecting a suggestion then opens the full chart with tools for editing it, or a chart can also be built manually from scratch. The chart state is saved in the URL fragment, so charts can be bookmarked or shared with others.
The main difference from earlier visualization plugins for Datasette (e.g. datasette-vega), which according to the author only displayed the current page of results (usually up to 100 rows), is that it works with the entire query result. The new plugin converts each chart into an SQL query that aggregates data across the entire result set — potentially millions of rows — using GROUP BY, time bucketing, and window functions, while limiting the result shown to 5 000 rows. For suggesting charts on large tables, the plugin uses data sampling rather than scanning the entire result set.
Why it matters
For users of the Datasette tool, this is a concrete tool that removes the manual work of building charts over databases — just provide a table or a query and the plugin itself suggests a suitable visualization, even over large volumes of data, where earlier plugins only worked over a limited slice of results. It is also an example of how, with the help of an AI assistant, an idea can be taken from prototype to a releasable open-source plugin in a short time (according to the author, one weekend).
Two audiences, two different impacts
What this means
For individuals
Developers and analysts working with the Datasette tool can now have the plugin automatically suggest and render a chart over any table or SQL query, including aggregations across millions of rows, without manually building the visualization.
For a business
For companies using the open-source tool Datasette to browse data, this is a new way to get automatic charts over SQL queries and entire tables without custom development, which could reduce the need for separate BI tools for simpler use cases.
DevelopmentCheck the original
Event sources
only one source so far · 1 publisher, 1 independent. We count feeds from the same owner only once.