Cached at:
11/26/26, 07:38 AM
# Release: datasette-charts 0.3a0
Source: [https://simonwillison.net/2026/Nov/25/datasette-charts/](https://simonwillison.net/2026/Nov/25/datasette-charts/)
I added chart annotations to[datasette\-charts](https://github.com/datasette/datasette-charts)\!
You can now render a chart and then annotate it with lines, shaded areas, labels, or a combination of the three\.
A chart with annotations looks like this:

Here's[that same chart in Datasette Lite](https://lite.datasette.io/?install=datasette-charts&url=https://datasette.io/global-power-plants.db#/global-power-plants/-/query?sql=SELECT+CAST%28commissioning_year+%2F+10+AS+INTEGER%29+%2A+10+AS+decade%2C+capacity_mw+FROM+%22global-power-plants%22+WHERE+commissioning_year+BETWEEN+1950+AND+2019+AND+capacity_mw+IS+NOT+NULL#chart=%7B%22v%22%3A1%2C%22type%22%3A%22bar%22%2C%22encoding%22%3A%7B%22x%22%3A%7B%22column%22%3A%22decade%22%2C%22sort%22%3A%22key%22%2C%22limit%22%3A20%2C%22other%22%3Afalse%7D%2C%22y%22%3A%7B%22column%22%3A%22capacity_mw%22%2C%22aggregate%22%3A%22sum%22%7D%7D%2C%22options%22%3A%7B%22orientation%22%3A%22vertical%22%7D%2C%22annotations%22%3A%5B%7B%22type%22%3A%22point%22%2C%22x%22%3A2000%2C%22text%22%3A%22Largest%20decade%20total%20in%20these%20records%3A%201.157%20million%20MW%22%7D%2C%7B%22type%22%3A%22range%22%2C%22x%22%3A1950%2C%22x2%22%3A1990%2C%22text%22%3A%22Much%20smaller%20summed%20capacity%20in%20earlier%20decades%22%7D%2C%7B%22type%22%3A%22line%22%2C%22y%22%3A1000000%2C%22text%22%3A%221%2C000%2C000%20MW%20reference%22%7D%2C%7B%22type%22%3A%22text%22%2C%22left%22%3A0.02%2C%22top%22%3A0.04%2C%22text%22%3A%22Global%20plant%20records%20with%20commissioning%20years%201950%E2%80%932019%3B%20coverage%20and%20missing%20years%20may%20affect%20comparisons.%22%7D%5D%7D), where you can tweak the annotations using the chart builder UI:

If you also install[Datasette Agent](https://agent.datasette.io/)the agent can build annotated charts for you\. Here's what I got on the[agent\.datasette\.io](https://agent.datasette.io/)demo for this prompt:
> `Show a chart comparing Simon's tagged content about LLMs with his tagged content about Datasette, with annotations`
