Repository navigation
[heatmap-cohort-retention] Cohort Retention Heatmap #4570
Copy link
Copy link
Closed
Labels
approvedApproved for implementationApproved for implementationimpl:altair:doneAltair implementation mergedAltair implementation mergedimpl:bokeh:donebokeh implementation mergedbokeh implementation mergedimpl:chartjs:donechartjs implementation mergedchartjs implementation mergedimpl:d3:doned3 implementation mergedd3 implementation mergedimpl:echarts:doneecharts implementation mergedecharts implementation mergedimpl:ggplot2:doneggplot2 implementation mergedggplot2 implementation mergedimpl:highcharts:donehighcharts implementation mergedhighcharts implementation mergedimpl:letsplot:doneletsplot implementation mergedletsplot implementation mergedimpl:makie:donemakie implementation mergedmakie implementation mergedimpl:matplotlib:doneMatplotlib implementation mergedMatplotlib implementation mergedimpl:muix:donemuix implementation mergedmuix implementation mergedimpl:plotly:doneplotly implementation mergedplotly implementation mergedimpl:plotnine:doneplotnine implementation mergedplotnine implementation mergedimpl:pygal:donepygal implementation mergedpygal implementation mergedimpl:seaborn:doneseaborn implementation mergedseaborn implementation mergedspec-readySpecification merged to mainSpecification merged to mainwatchdog:retried-plotnineWatchdog retried plotnine onceWatchdog retried plotnine once
Description
Description
A triangular heatmap showing user retention rates across cohorts (rows) and time periods (columns). Each row represents a signup cohort, each column represents periods since signup, with cell color indicating retention percentage.
Key Visual Elements
- Cohort labels on y-axis (e.g., "Jan 2024", "Feb 2024")
- Periods since signup on x-axis (Week 0, Week 1, ...)
- Triangular shape (later cohorts have fewer data points)
- Color intensity: dark (high retention) to light (low retention)
- Percentage values in cells
- Week 0 always 100%
Applications
- SaaS/product analytics: measuring user stickiness
- Mobile apps: tracking engagement decay
- Gaming: player retention analysis
- Subscription businesses: churn pattern identification
Domain
Product Analytics / Marketing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
approvedApproved for implementationApproved for implementationimpl:altair:doneAltair implementation mergedAltair implementation mergedimpl:bokeh:donebokeh implementation mergedbokeh implementation mergedimpl:chartjs:donechartjs implementation mergedchartjs implementation mergedimpl:d3:doned3 implementation mergedd3 implementation mergedimpl:echarts:doneecharts implementation mergedecharts implementation mergedimpl:ggplot2:doneggplot2 implementation mergedggplot2 implementation mergedimpl:highcharts:donehighcharts implementation mergedhighcharts implementation mergedimpl:letsplot:doneletsplot implementation mergedletsplot implementation mergedimpl:makie:donemakie implementation mergedmakie implementation mergedimpl:matplotlib:doneMatplotlib implementation mergedMatplotlib implementation mergedimpl:muix:donemuix implementation mergedmuix implementation mergedimpl:plotly:doneplotly implementation mergedplotly implementation mergedimpl:plotnine:doneplotnine implementation mergedplotnine implementation mergedimpl:pygal:donepygal implementation mergedpygal implementation mergedimpl:seaborn:doneseaborn implementation mergedseaborn implementation mergedspec-readySpecification merged to mainSpecification merged to mainwatchdog:retried-plotnineWatchdog retried plotnine onceWatchdog retried plotnine once
Projects
- StatusShow more project fieldsDone
Activity
claude commentedon Mar 6, 2026
✅ Spec ID:
heatmap-cohort-retentionRationale: Combines the heatmap plot type with the cohort-retention variant, clearly describing a triangular retention heatmap used in product analytics — distinct from existing heatmap specs (annotated, calendar, correlation, clustered, etc.).
Add label
approvedto begin generation.spec: add heatmap-cohort-retention specification
[-]Cohort Retention Heatmap[/-][+][heatmap-cohort-retention] Cohort Retention Heatmap[/+]github-actions commentedon Mar 6, 2026
✅ Specification Ready:
heatmap-cohort-retentionPR: #4598
specification.md
heatmap-cohort-retention: Cohort Retention Heatmap
Description
A triangular heatmap displaying user retention rates across signup cohorts and time periods. Each row represents a cohort (e.g., users who signed up in a specific month), each column represents periods since signup, and cell color intensity indicates the retention percentage. The triangular shape naturally emerges because more recent cohorts have fewer elapsed periods. This visualization reveals retention trends, highlights churn patterns, and enables comparison of cohort quality over time.
Applications
Data
cohort(string) - Cohort label representing the signup period (e.g., "Jan 2024", "Feb 2024")period(integer) - Number of periods since signup (0, 1, 2, ...), where period 0 is the signup periodretention_rate(float) - Percentage of users retained, ranging from 0 to 100; period 0 is always 100%cohort_size(integer) - Number of users in each cohort (displayed alongside cohort labels)Notes
Next: Add
approvedlabel to merge this specification to main.🤖 spec-create workflow
spec: add heatmap-cohort-retention specification (#4598)
github-actions commentedon Mar 6, 2026
🚀 Specification Merged!
Specification:
heatmap-cohort-retentionPR: #4598 (merged)
The specification is now in
mainand synced to PostgreSQL.Next: Add
generate:{library}labels to start generating implementations.Available libraries:
matplotlib,seaborn,plotly,bokeh,altair,plotnine,pygal,highcharts,letsplotOr use workflow dispatch for bulk operations.
🤖 spec-create workflow
152 remaining items
github-actions commentedon Jul 5, 2026
Attempt 2 failed. Automatically retrying...
🤖 impl-generate
github-actions commentedon Jul 5, 2026
❌ plotnine Failed (Attempt 3/3)
The plotnine implementation for
heatmap-cohort-retentionfailed after 3 attempts.Reason: Claude Code failed to create the implementation file.
To retry manually:
🤖 impl-generate
github-actions commentedon Aug 17, 2026
🎨 python/plotnine Preview
PR: #10309
🤖 impl-generate
feat(plotnine): implement heatmap-cohort-retention (#10309)
github-actions commentedon Aug 17, 2026
✅ plotnine Complete
plotnine implementation for
heatmap-cohort-retentionhas been merged to main.PR: #10309
Quality Score: 95/100
Preview: light · dark
🤖 impl-merge
github-actions commentedon Aug 17, 2026
🎉 All Implementations Complete!
All 15 library implementations for
heatmap-cohort-retentionhave been successfully merged.🤖 impl-merge