Calendar heatmap
Use it for daily values over months, when weekday habits and single heavy days are the story. Shading is clipped at the 95th percentile so one huge day does not wash out the rest.
How to use it
Paste the toolkit from Get the code into your page first, then call the chart like this.
const days = new Map([
['2026-01-01', 42.5],
['2026-01-02', 0],
['2026-01-03', 118.9]
// ... one entry per day
]);
const chart = calendar({
days,
onClick: date => openDay(date), // 'YYYY-MM-DD'
label: 'Daily spending calendar'
});Options
What you can pass to this chart.
days
A Map of 'YYYY-MM-DD' to number. Missing days inside the range count as zero.
onClick
(dateString) => void.
label
aria-label for the whole graphic.
More charts like this
Other charts in the “Over time” group.
Heatmap
A grid of rows against columns, shaded by value, with clear no-data cells.
View chart →Small multiples
One mini chart per category on a shared layout, with a detail chart for the one you pick.
View chart →Line
One or a few series over time, with a typical-value line and an optional comparison.
View chart →Want charts or dashboards like these in your own product?
Tell me what you are trying to see and I can help work out the right approach, from the data behind it to the screen in front of people.