Vega-Lite Calendar Heatmap
A GitHub-style calendar heatmap — 365 cells laid out as 7 rows (day of week) × ~53 columns (week of year), each cell coloured by the day's value. Vega-Lite produces this with two date-time `timeUnit` extractions on the x and y encodings (`week` and `day`) and a `rect` mark, no cl
Template details
- chart
- calendar
- heatmap
- time-series
- vega
- vega-lite
When to use this template
A calendar heatmap excels at revealing daily patterns, weekly cycles, and yearly trends within a single compact view. Analysts use it to quickly identify recurring behaviors, unusual daily spikes or drops, and how a metric's value changes across seasons or specific days of the week over an extended period. It's ideal for monitoring daily performance and spotting anomalies that might otherwise be hidden in line charts.
- Daily aggregated quantitative values.
- Data spanning at least one full year.
- Single metric measured once per day.
- Detecting weekly and seasonal patterns.
- Identifying daily outliers or missing data.
- Comparing daily values across different weeks/months.