Charts
Cohort grid
Retention by cohort. The one question a time series cannot answer.
| Cohort | Size | Week 0 | Week 1 | Week 2 | Week 3 | Week 4 |
|---|---|---|---|---|---|---|
| Week 1 | 1,092 | 100% | 78% | 56% | 34% | 12% |
| Week 2 | 874 | 100% | 76% | 52% | 28% | |
| Week 3 | 728 | 100% | 74% | 48% | ||
| Week 4 | 624 | 100% | 72% | |||
| Week 5 | 546 | 100% |
Props
| Property | Type | Default | Description |
|---|---|---|---|
data | CohortRow[] | — | { label, size, values[] } per cohort. Rows may be ragged — a young cohort has fewer periods, and padding it out would invent data. |
variant | "triangle" | "counts" | "triangle" | Cells show retained share, or the raw retained count. |
periodLabel | string | "Period" | Column header prefix. "Week" gives Week 0, Week 1, and so on. |
className | string | — | Outer wrapper. The table scrolls horizontally inside it. |