twoHelixestwoHelixes Start free

Datasets / Subscription cohorts

Accounts still active, by months since signup

Every cohort is put on the same x axis - months since signup, not calendar months - which is the only way curves of different ages can be compared.

Question what does retention look like by months since signup?
Retention by months since signup02k4k6k0123456789101112131415161718Months since signup
Subscription cohorts — 19 rows charted from 1,056, drawn as a area
How it decided
Finding the data71 ms

Subscription cohorts: 1,056 rows, 6 columns. months_since_signup and active_accounts, summed over every cohort.

Shaping the data7 ms

1,056 rows in, 19 out across 2 columns. Every cohort is put on the same x axis - months since signup, not calendar months - which is the only way curves of different ages can be compared.

Choosing the chart3 ms

area. A single decaying series reads as an area: the fill carries the magnitude that is being lost, which a bare line does not.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

The transformation

This is the code, not a description of it — the chart above was drawn from what it returns, and the notebook download runs the same lines against the same file.

result = df.groupby("months_since_signup", as_index=False)["active_accounts"].sum()

What it charted

19 rows out of 1,056, 2 columns. First 8 shown.

months_since_signupactive_accounts
05520
14557
23853
33348
42960
52668
62443
72132