The preview above is the live component gallery. Open it full size to switch between desktop and phone widths.
Read along a row for one cohort’s life, and down a column to see whether newer cohorts keep better.
Options
Examples
Revenue kept by quarter
With asum, a cell is that period’s value over the first period’s, so expansion can pass 100%.
How the numbers work
- Each entity joins one cohort: the period of its first row in all the data the metric counts,
after filters and the metric’s own
where. A customer first seen in 2024 is never in a 2026 cohort, whatever the dashboard period. - The grid shows the whole periods inside the dashboard’s
period.rangein which someone first appears. A period filter doesn’t move it. - Period 0 is the base of each row. A period with no rows is 0%, not a gap.
- Partial periods are marked “In progress”; their values are real but not final.
- The average row is weighted, and leaves out partial cells.
- At most 36 cohorts: the latest 36 are kept (HM5070).
Behavior
- Cells are shaded in up to five classes, with a legend under the grid.
- Hover, tap or focus a cell for the share, the count behind it and, for a partial cell, how much of the period the data covers. The arrow keys move between cells.
- The header stays in view while a long grid scrolls. On phones the grid scrolls sideways with the cohort column pinned.
Checks
hatchmark explain <code> explains a check and how to fix it.