Chart gallery

Each screenshot links to a live demo of that chart in Datasette Lite, which runs Datasette in your browser.

The demos use two databases: content, the database behind datasette.io and data, the Global Power Plant Database from the World Resources Institute.

Line charts

A count or an aggregate over time, optionally split into series.

Bar charts

A count or an aggregate for each value of a category.

Histograms

The distribution of a numeric column, on a log scale when it has a long tail.

Scatter plots

Two numeric columns: points for small sources, a binned heatmap for large ones.

Maps

Latitude and longitude: points for small sources, grid cells for large ones.

Stacked and grouped bars

Two categories, or a category over time.

Annotations

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.