Lilith.
⌕
Editorial illustration: Datasette-charts 0.4a0 Opens Its Chart System to Other Plugins
Lilith illustration · editorial remix

Datasette-charts 0.2a0 connected charts to Datasette Agent and 0.3a0 added annotations. Version 0.4a0 now addresses another layer: how third-party plugins can add chart types that work in the builder, links, embeds and agent suggestions.

An experimental lollipop chart exposed friction in the plugin hook

The plugin already had a register_chart_types hook, but its author had not tested it with a real extension. Simon Willison asked Claude Opus 5.5 to build an experimental lollipop-chart plugin. The model hit several friction points, and release 0.4a0 revises the interface in response.

A new site at charts.datasette.io adds a tutorial for plugin authors and a gallery of built-in charts and annotations. Its documented example draws the top 20 categories. Python proposes the chart and compiles its SQL, while JavaScript renders the result.

Extensions inherit the builder, embeds and agent collaboration

A custom chart type can appear in the chart builder, #chart= links, embeds and Datasette Agent suggestions. It can also support annotations. An extension author does not have to rebuild the entire interface around one renderer.

That matters more than the lollipop chart itself. Datasette-charts is moving from a fixed collection of visualizations toward a platform where another plugin can add a new way to read data while staying inside the same analytical workflow.

The public interface remains deliberately narrow and unstable

The documentation explicitly says the interface is not stable yet. Only the documented surface is public. Internal SQL helpers, scoring utilities and other modules may change in later releases, so a plugin built on undocumented imports can break.

A coding agent finding a path through the code also does not prove that the API is comfortable for other authors. Claude could inspect implementation details and work around ambiguity that might stop a human at the first example.

Independent plugins will show whether the contract holds

The strongest signal will come from extensions beyond Willison's own experiment. Watch whether authors can stay within documented classes, whether their charts survive later alpha releases and whether they join Datasette Agent without bespoke fixes.

Changes to the hook itself will matter too. If 0.5a0 or a later release rewrites the core contract again, 0.4a0 will mainly have served as a public test. If independent plugins grow on it, Datasette will have the beginnings of a genuine chart ecosystem.

Lilith's verdict

The plugin hook has had its first crash test: Claude pushed a new chart through it and found the sharp edges. The real test starts when an author arrives without access to Willison's mental map.