Simon Willison’s Weblog

Newsletter

27th November 2026

Release datasette-charts 0.4a0 — A charting plugin for Datasette

The new datasette-charts plugin has its own plugin hook to allow other plugins to define new chart types, but I hadn't actually used it for anything yet. I had Claude Opus 5.5 build an experimental plugins just to try out the hook and it came up with a bunch of friction points in the design. This release addresses those, which should make building additional chart plugins a whole lot more ergonomic.

I've also added a website for the plugin, at charts.datasette.io. The new website includes a tutorial for plugin authors, and a gallery showing all of the core charts and annotations, each one linking to an interactive demo on Datasette Lite.

Screenshot of a documentation page section showing a two-by-two grid of cards, each with a chart screenshot, a heading, a description, a link and a collapsed disclosure. Heading: "Annotations". Intro text: "Notes drawn on a chart: lines, shaded ranges, callouts and text. They are part of the chart's spec, so they are kept in the link to the chart. Documentation for annotations." where "Documentation for annotations" is a link. Card 1: an area line chart titled "Rows per quarter of published_at", y-axis labelled "↑ Rows" with ticks 0, 20, 40, 60, 80, 100, 120, 140, 160 and x-axis ticks 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, with a vertical dashed line just before 2023 labelled "Datasette 1.0a0"; the line peaks near 150 in mid 2020 and near 138 in early 2023. Caption "SCREENSHOT". Heading "A line at an x value". Text "A dashed line across the chart at a date, here the day of a release." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 2: a stacked bar chart titled "Rows per year of upload_time by packagetype", legend "bdist_wheel" (blue) and "sdist" (orange), y-axis labelled "↑ Rows" with ticks 0, 100, 200, 300, 400, 500, 600 and x-axis ticks 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, with a solid red horizontal line at 500 labelled "500 uploads a year"; the bars for 2020, 2021 and 2023 rise above the line. Caption "SCREENSHOT". Heading "A line at a y value". Text "A reference line at a value, drawn solid and in red." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 3: a blue histogram titled "Distribution of latitude", y-axis labelled "↑ Rows" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, 6,000, 7,000, 8,000 and x-axis labelled "latitude →" with ticks −80, −60, −40, −20, 0, 20, 40, 60, with a grey shaded band from roughly −23 to 23 labelled "The tropics"; the tallest bar is just above 7,000 at around 40. Caption "SCREENSHOT". Heading "A shaded range". Text "A band between two x values, on a histogram." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 4: a scatter plot of blue dots titled "generation_gwh_2017 against capacity_mw", y-axis labelled "↑ generation_gwh_2017" with ticks 0, 5,000, 10,000, 15,000, 20,000, 25,000, 30,000, 35,000, 40,000 and x-axis labelled "capacity_mw →" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, showing an upward trend, with one black dot at the far right near 5,400 capacity and 31,000 generation joined by a short line to the label "Gravelines, France". Caption "SCREENSHOT". Heading "A callout on a point". Text "A dot on one data point with a line to its label. On a scatter plot the callout gives both x and y." Link "Try this demo yourself". Disclosure "▶ Chart spec".

This is a beat by Simon Willison, posted on 27th November 2026.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe