A matrix colored by value.
import { Heatmap } from "diagrammatic";Seven days, twenty-four hours, a dot per cell. The punchcard is the job Heatmap already owns.
Illustrative data. Commits by weekday and hour, last 12 weeks. n = 1,246.
The 15h to 16h block is busiest on weekdays, with 57 commits per day. Thursday has the largest late cluster, with 11 commits at both 21h and 22h against seven on other weekdays. Saturday morning exists; Sunday almost does not. Empty hours stay empty.
Twenty-six weeks, seven days. Empty cells stay empty. This is the calendar job, not the punchcard.
Illustrative data. Production deploys across 26 weeks. n = 263.
Tuesday has 126 deploys across the 26 weeks, more than any other day. Thursday follows with 49. Saturday and Sunday have activity only in weeks 11 and 19. The first week has only one Tuesday deploy.
- Use it for
- Category-by-category intensity: confusion matrices, correlations, schedules.
- Watch out
- One sequential ramp only; a rainbow scrambles the order.