Datasette-charts 0.1a0

AI-generated overview
Simon Willison announces datasette-charts, a new alpha plugin for visualizing data in Datasette. It works with tables and arbitrary SQL queries, offers data-driven chart suggestions, and lets users modify suggested charts or build their own. Unlike earlier plugins that typically charted only the current page, it compiles charts into SQL aggregations across the full result set, returning up to 5,000 rows for display. Sampling supports suggestions for larger tables. Chart configurations are saved in URL fragments for bookmarking and sharing. Willison presents the release as an early step toward visualization that requires less direction from users.
What’s discussed
- Simon Willison built an initial prototype using Claude Fable 5.2 and developed it into a full plugin.
- The plugin uses vendored D3, Observable Plot, and topojson-client.
- Charts can be created from a Datasette table or arbitrary SQL query.
- Chart state is persisted in a URL fragment.
- The plugin uses GROUP BY, time bucketing, and window functions to aggregate across the full result set.
- Chart queries return a maximum of 5,000 rows.
- Earlier charting plugins such as datasette-vega generally charted only the current page of results, often up to 100 rows.
A short overview on Fiper. Read or listen to the full work at the original source.