Installation
Install the plugin in the same environment as Datasette:
datasette install datasette-charts
Every table, view and SQL query page then gets a Suggested charts panel. The documentation covers configuration, annotations, the HTTP API and the tools for Datasette Agent.
The latest release is 0.5a0, from 28th November 2026.
Chart types
-
Line chart
A count or an aggregate over time, optionally split into series.
-
Bar chart
A count or an aggregate for each value of a category.
-
Histogram
The distribution of a numeric column, on a log scale when it has a long tail.
-
Scatter plot
Two numeric columns: points for small sources, a binned heatmap for large ones.
-
Map
Latitude and longitude: points for small sources, grid cells for large ones.
-
Stacked bar chart
Two categories, or a category over time.
-
Calendar heatmap
A count or an aggregate for each day, with one block per year.
-
Box plot
How a numeric column is spread within each value of a category: minimum, quartiles, median and maximum.
-
Active over time
How many rows are active at each point in time, for rows with a start and an end.
The gallery has more examples of each, with a live demo of every chart.