chartcn

Cohort heatmap

Signup cohort × period retention grid styled with chart tokens.

Cohort Heatmap
Signup cohort × weekly retention
Cohort
Week 0
Week 1
Week 2
Week 3
Week 4
Week 5
Jan 61240 users
100%
42%
31%
24%
19%
16%
Jan 131380 users
100%
45%
33%
26%
21%
17%
Jan 201510 users
100%
48%
36%
28%
22%
—
Jan 271620 users
100%
44%
32%
25%
—
—
Feb 31490 users
100%
46%
34%
—
—
—
Feb 101710 users
100%
49%
—
—
—
—

Retention %

Data shape

type CohortRow = {
  cohort: string // signup week label
  size: number // cohort size (users)
  retention: Array<number | null> // % retained per period; null = not matured
}

Rows are signup cohorts; columns are relative periods (Week 0…Week N). Values are retention percentages. Prefer CSS grid/table when Recharts heatmap support is awkward.

On this page