CodingSoftware & developer tools
Simon Willison releases datasette-charts 0.4a0, reworking its chart-type plugin API after a Claude Opus 5.5 test run
Simon Willison's datasette-charts 0.4a0 makes its chart-type plugin hook easier for outside authors to use. It adds 22 shared renderer helpers, a SQL name-collision fix and a documentation site, after Claude Opus 5.5 built a test plugin and surfaced design friction.
From the Simon Willison article of November 27, 2026 and cited sources: Before any human plugin authors had tried the extension hook, Willison had Claude Opus 5.5 build an experimental chart-type plugin against it. [1] [6]
SOURCES[1] datasette-charts 0.4a0 simonwillison.net[6] datasette-charts 0.4a0 release notes (GitHub) github.com
AI-assisted, not human-edited. Methodology Corrections Who owns this site
- What happened
- Before any human plugin authors had tried the extension hook, Willison had Claude Opus 5.5 build an experimental chart-type plugin against it. [1] [6]
- Original source
- Simon Willison article, independent perspective
- Brief by
- AT Pulse research desk AI-assisted; publisher and contact on the desk page
- When
- November 27, 2026 article published
- Covered
- Nov 28 edition
- Evidence
- 9 sources across 3 sites
- 1datasette-charts 0.4a0simonwillison.net
- 2Datasette Charts documentation sitecharts.datasette.io
- 3datasette-agent-charts 0.1a1 (20 May 2026)simonwillison.net
- 4Simon Willison's Weblog, 17 Nov 2026…simonwillison.net
- 5datasette-charts releases (GitHub)github.com
- 6datasette-charts 0.4a0 release notes (GitHub)github.com
Reach: not measured yet
Before any human plugin authors had tried the extension hook, Willison had Claude Opus 5.5 build an experimental chart-type plugin against it. The friction points the model reported shaped the 0.4a0 changes. This comes from Willison's own account only: the release notes do not mention the model, and the test plugin's code has not been published. [1] [6]
Renderers from third-party plugins now get ctx.helpers, a set of 22 functions for theming, number formatting, axis labels, time bucketing and annotation layout that only the built-in charts could use before. A fix also stops charts from breaking on user tables named source, base or ranked, which clashed with names in the plugin's generated SQL. [6]
A new documentation site, charts.datasette.io, explains how a chart type is defined: a Python class, SQL requirements, column profiling, scoring that decides which charts get suggested, and a JavaScript renderer. Its tutorial builds a lollipop chart plugin as the worked example. Gallery charts link to demos that run in the browser through Datasette Lite. [2] [6] [1]
The release notes document the helpers and the bug fix. The broader implication is a guess, not a result: having a model write the first plugin could be a cheap usability check before release, but one model building one plugin proves little.
Executive brief
Simon Willison released datasette-charts 0.4a0, an alpha of his charting plugin for Datasette, on 27 November 2026. The changes came from an AI test run rather than from users. He asked Claude Opus 5.5 to build an experimental plugin against the plugin's own chart-type hook, and the model reported friction points in the design. Version 0.4a0 fixes those points, gives third-party chart renderers 22 shared helper functions, and launches charts.datasette.io with a tutorial for plugin authors. No outside party has reviewed the release. The project is four days old and still alpha.
What changed and event timeline
Agent charting precursor
Willison shipped, an Observable Plot plugin that lets Datasette Agent produce charts from queries. It added permission checks before running SQL.
Datasette Lite rewrite
He described running the full server-side Datasette Python app in the browser using Pyodide and service workers (). This is the basis for the in-browser demos linked later.
25: Rapid alphas
Version 0.1a0 was the first alpha. Version 0.2a0 added Datasette Agent support, and 0.3a0 added annotations (labels, lines, shaded areas) and horizontal/vertical bars ().
0.4a0 for plugin authors
Renderers from other plugins now receive
ctx.helpers. Charts no longer break on tables namedsource,baseorranked. A documentation site launched ().0.5a0 follows
One day later, three new chart types arrived: calendar heatmap, box plot and "active over time" ().
Capabilities and access
- Package: datasette-charts 0.4a0, a pre-release, Apache 2.0. 0.5a0 is now the newest version (charts.datasette.io).
- Suggested charts: every table, view and query page shows a "Suggested charts" panel, and there is a chart builder.
- Chart types (as of 0.5a0): line, bar, histogram (including log scale), scatter (binned heatmap for large data), map, stacked bar, calendar heatmap, box plot, active over time.
Read the full section
- Package: datasette-charts 0.4a0, a pre-release, Apache 2.0. Install with
datasette install datasette-charts. 0.5a0 is now the newest version (charts.datasette.io). - Suggested charts: every table, view and query page shows a "Suggested charts" panel, and there is a chart builder.
- Chart types (as of 0.5a0): line, bar, histogram (including log scale), scatter (binned heatmap for large data), map, stacked bar, calendar heatmap, box plot, active over time.
- Gallery: each chart links to an interactive demo running in Datasette Lite (Willison).
- Model used for the test: Claude Opus 5.5, built a test plugin only. It is not part of the shipped software.
Technical analysis for researchers and developers
- How a chart type is defined: per the 0.4a0 notes, a chart type has four parts: a Python class, SQL requirements, column profiling, and scoring that decides which charts get suggested.
ctx.helpers: 22 functions for theming, number formatting, axis labels, time bucketing and annotation layout.- Name-collision fix (issue #5): the plugin's generated SQL used internal names such as
source,baseandranked, so user tables with those names broke.
Read the full section
- How a chart type is defined: per the 0.4a0 notes, a chart type has four parts: a Python class, SQL requirements, column profiling, and scoring that decides which charts get suggested. A JavaScript renderer API draws the result. The tutorial builds a "lollipop" chart plugin as its worked example.
ctx.helpers: 22 functions for theming, number formatting, axis labels, time bucketing and annotation layout. Before this release only the built-in charts could use them. Exposing them cuts duplicate code and keeps third-party charts consistent with the core look.- Name-collision fix (issue #5): the plugin's generated SQL used internal names such as
source,baseandranked, so user tables with those names broke. The fix suggests user identifiers now get properly isolated from the plugin's own. - Method: using an AI-written "first client" to stress-test an API before human authors arrive is a cheap way to find usability problems. It produced a single test plugin, not a systematic evaluation.
Claims and evidence
- That Claude Opus 5.5 found the friction points comes only from Willison's post. Read it as the author's own account.
- The helper count (22), PR #7 and the bug fix #5 are documented in the release notes and can be checked in the repository.
- "A whole lot more ergonomic" is the author's expectation. No third-party plugin authors have reported results yet.
Read the full section
- That Claude Opus 5.5 found the friction points comes only from Willison's post. The release notes do not mention Claude, and the experimental plugin's code is not linked. Read it as the author's own account.
- The helper count (22), PR #7 and the bug fix #5 are documented in the release notes and can be checked in the repository.
- "A whole lot more ergonomic" is the author's expectation. No third-party plugin authors have reported results yet.
- No independent corroboration was found in the reviewed sources.
Context and prior work
Datasette has a long line of charting plugins: datasette-charts differs from these in two ways: it suggests charts automatically from the data, and other plugins can add chart types through its hook.
Read the full section
Datasette has a long line of charting plugins:
- datasette-vega (2018, Vega-Lite bar/line/scatter), revived as version 0.7 on 14 November 2026 after eight years.
- Alex Garcia's datasette-plot (Observable Plot), introduced as an updated alternative to datasette-vega.
- datasette-agent-charts for LLM-driven charting.
datasette-charts differs from these in two ways: it suggests charts automatically from the data, and other plugins can add chart types through its hook.
Limitations, safety and contested findings
- Alpha status: six releases in six days (releases) point to an unstable API. Plugin authors should expect changes.
- SQL safety: the name-collision bug shows the risk of building SQL dynamically from user schemas. Similar edge cases may remain.
- The AI review is anecdotal: one model built one test plugin, and its output is not published.
Read the full section
- Alpha status: six releases in six days (releases) point to an unstable API. Plugin authors should expect changes.
- SQL safety: the name-collision bug shows the risk of building SQL dynamically from user schemas. Similar edge cases may remain.
- The AI review is anecdotal: one model built one test plugin, and its output is not published.
- Agent permissions: permission checks before agent-run SQL appeared in datasette-agent-charts. The reviewed sources do not show whether datasette-charts' agent integration does the same.
Business and practitioner implications
- Teams with SQLite data: they get automatic exploratory charts with no BI tooling. Demos run fully in the browser through Datasette Lite.
- Platform builders: having a frontier model write a "first plugin" against an extension API is a low-cost usability test before release.
- Plugin developers:
ctx.helpersand the lollipop tutorial lower the effort to ship a custom chart.
Read the full section
- Teams with SQLite data: they get automatic exploratory charts with no BI tooling. Demos run fully in the browser through Datasette Lite.
- Platform builders: having a frontier model write a "first plugin" against an extension API is a low-cost usability test before release. Treat what it finds as a list of hypotheses to check, not proof the API works well.
- Plugin developers:
ctx.helpersand the lollipop tutorial lower the effort to ship a custom chart. Pin versions until a stable release.
The source trail.
Sources (9)
datasette-charts 0.4a0
Article text retrieved; extracted text may omit tables or interactive elements.
simonwillison.net