Cohort chart

A cohort chart shows retention or conversion by start cohort and period. It derives each rate from counts and weights the averages by cohort size.

React
import { CohortChart } from 'boardplot/react/cohort';
Use for
Retention by signup cohort · Repeat purchase by first month · Subscription churn by start month
Not for
Precomputed retention percentages; cohort takes active-member counts and derives the rates.

Paying-account retention by start month

Cohort retention triangle, 12 cohorts by 12 periods since start. Retention = active / cohort base (period 0). Period 0 is 100% by construction. The oldest cohort reaches 21% at M11; the newest reaches 100% at M0. 66 cells are blank because those cohorts have not reached that period. Bases: 1200 for the oldest cohort, 1900 for the newest. Newer cohorts retain better: month-3 retention improved from 50% to 64% through 2025 Nurthwold Cloud · Paying accounts still active in % of cohort base · Cohorts Jan-Dec 2025 Source: Illustrative subscription ledger, monthly logo snapshots 0% 25% 50% 75% 100% M0 base M3 M0 M1 M10 M11 M2 M4 M5 M6 M7 M8 M9 Jan 2025 (n = 1,200) Feb 2025 (n = 1,150) Mar 2025 (n = 1,300) Apr 2025 (n = 1,400) May 2025 (n = 1,350) Jun 2025 (n = 1,500) Jul 2025 (n = 1,600) Aug 2025 (n = 1,550) Sep 2025 (n = 1,700) Oct 2025 (n = 1,750) Nov 2025 (n = 1,800) Dec 2025 (n = 1,900) 100% 21% 100% 100% 100% 100% 100% 100% 100% 100% 100% 100% 100% 64% 63% 61% 58% 57% 55% 55% 51% 50% – – – 74% 74% 73% 71% 70% 70% 68% 68% 68% 66% 66% 65% 64% 64% 63% 63% 62% 61% 59% 58% 58% 58% 55% 55% 54% 52% 51% 50% 50% 48% 47% 47% 46% 45% 45% 44% 44% 44% 41% 40% 40% 40% 38% 36% 36% 35% 34% 32% 32% 32% 30% 28% 26% 25% 23% 22% – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

A cohort triangle of paying-account retention for the twelve 2025 monthly cohorts, with the month-3 column outlined; month-3 retention rises from 50% for January to 64% for September.

Download SVG Fixture IDsaas-logo-retention
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from {"width":720,"height":580} to the width of the site frame; options.title.

{
  "type": "cohort",
  "data": {
    "periodLabel": "Month",
    "cohorts": [
      {
        "id": "c01",
        "label": "Jan 2025",
        "active": [
          1200,
          748,
          664,
          600,
          539,
          478,
          437,
          388,
          355,
          315,
          279,
          255
        ]
      },
      {
        "id": "c02",
        "label": "Feb 2025",
        "active": [
          1150,
          732,
          662,
          584,
          524,
          460,
          403,
          364,
          319,
          288,
          253
        ]
      },
      {
        "id": "c03",
        "label": "Mar 2025",
        "active": [
          1300,
          828,
          758,
          711,
          655,
          618,
          566,
          518,
          489,
          448
        ]
      },
      {
        "id": "c04",
        "label": "Apr 2025",
        "active": [
          1400,
          953,
          849,
          765,
          694,
          618,
          567,
          505,
          450
        ]
      },
      {
        "id": "c05",
        "label": "May 2025",
        "active": [
          1350,
          892,
          849,
          784,
          724,
          689,
          637,
          606
        ]
      },
      {
        "id": "c06",
        "label": "Jun 2025",
        "active": [
          1500,
          1045,
          940,
          862,
          785,
          706,
          655
        ]
      },
      {
        "id": "c07",
        "label": "Jul 2025",
        "active": [
          1600,
          1080,
          1041,
          981,
          940,
          880
        ]
      },
      {
        "id": "c08",
        "label": "Aug 2025",
        "active": [
          1550,
          1106,
          1024,
          971,
          904
        ]
      },
      {
        "id": "c09",
        "label": "Sep 2025",
        "active": [
          1700,
          1239,
          1154,
          1088
        ]
      },
      {
        "id": "c10",
        "label": "Oct 2025",
        "active": [
          1750,
          1299,
          1232
        ]
      },
      {
        "id": "c11",
        "label": "Nov 2025",
        "active": [
          1800,
          1338
        ]
      },
      {
        "id": "c12",
        "label": "Dec 2025",
        "active": [
          1900
        ]
      }
    ]
  },
  "options": {
    "size": {
      "width": 1000
    },
    "title": "Newer cohorts retain better: month-3 retention improved from 50% to 64% through 2025",
    "subtitle": {
      "company": "Nurthwold Cloud",
      "measure": "Paying accounts still active",
      "period": "Cohorts Jan-Dec 2025"
    },
    "unit": "% of cohort base",
    "source": "Illustrative subscription ledger, monthly logo snapshots",
    "highlight": "t3"
  }
}

Completed cohorts with weighted average

Retention table with a separate cohort-size column and periods M0, M1, M2, M3. Retention = active / cohort base (period 0). Empty cells are unobserved; period 0 is 100% by definition. The total row is weighted by cohort size. Completed cohorts retain at least 64% after one month Customers retained in % of cohort base · Nov 2025-Mar 2026 Source: Subscription ledger, completed monthly cohorts through Feb 2026 COHORT M0 M1 M2 M3 COHORT SIZE % of cohort base <30 30 to <40 40 to <50 50 to <60 60+ base 4,810 base 3,500 base 2,260 base 1,100 100 66 58 51 100 66 59 100 100 68 100 64 56 51 Weighted average Dec 2025 Feb 2026 Jan 2026 Nov 2025 4,810 1,160 1,310 1,240 1,100

A cohort table of customer retention for four monthly cohorts shows month-1 retention of 64% to 68%, a weighted average of 66% at month 1, 58% at month 2 and 51% at month 3, each with its base.

Download SVG Fixture IDretention-stepped-content
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.formatScope.

{
  "type": "cohort",
  "data": {
    "periodLabel": "Month",
    "cohorts": [
      {
        "id": "nov-25",
        "label": "Nov 2025",
        "active": [
          1100,
          704,
          616,
          561,
          517
        ]
      },
      {
        "id": "dec-25",
        "label": "Dec 2025",
        "active": [
          1160,
          766,
          685,
          638
        ]
      },
      {
        "id": "jan-26",
        "label": "Jan 2026",
        "active": [
          1240,
          843,
          769
        ]
      },
      {
        "id": "feb-26",
        "label": "Feb 2026",
        "active": [
          1310,
          917
        ]
      },
      {
        "id": "mar-26",
        "label": "Mar 2026",
        "active": [
          900
        ]
      }
    ]
  },
  "options": {
    "variant": "stepped",
    "formatScope": "classic",
    "visiblePeriods": [
      0,
      1,
      2,
      3
    ],
    "showPercentSign": false,
    "total": "weighted",
    "excludeCurrentPeriod": true,
    "title": "Completed cohorts retain at least 64% after one month",
    "subtitle": {
      "measure": "Customers retained",
      "period": "Nov 2025-Mar 2026"
    },
    "unit": "% of cohort base",
    "source": "Subscription ledger, completed monthly cohorts through Feb 2026",
    "mode": "compact"
  }
}

Retention against the previous month

Retention table with a separate cohort-size column and periods M0, M1, M2, M3. Retention = active / the previous period's active. Empty cells are unobserved; period 0 is 100% by definition. Customer retention compared with the previous month Customers retained in % of previous period · Nov 2025-Mar 2026 Source: Subscription ledger, completed monthly cohorts through Feb 2026 COHORT M0 M1 M2 M3 COHORT SIZE % of previous period <70 70 to <80 80 to <85 85 to <90 90+ 100 66 89 100 100 68 100 64 88 91 Dec 2025 Feb 2026 Jan 2026 Nov 2025 1,160 1,310 1,240 1,100

A cohort table shows retention as a share of the previous month, from 64% to 68% at month 1 and 88% to 91% later, with the highest steps shaded darkest.

Download SVG Fixture IDretention-previous-period
JSON spec

This spec includes the theme shown and the options you selected.

{
  "type": "cohort",
  "data": {
    "periodLabel": "Month",
    "cohorts": [
      {
        "id": "nov-25",
        "label": "Nov 2025",
        "active": [
          1100,
          704,
          616,
          561,
          517
        ]
      },
      {
        "id": "dec-25",
        "label": "Dec 2025",
        "active": [
          1160,
          766,
          685,
          638
        ]
      },
      {
        "id": "jan-26",
        "label": "Jan 2026",
        "active": [
          1240,
          843,
          769
        ]
      },
      {
        "id": "feb-26",
        "label": "Feb 2026",
        "active": [
          1310,
          917
        ]
      },
      {
        "id": "mar-26",
        "label": "Mar 2026",
        "active": [
          900
        ]
      }
    ]
  },
  "options": {
    "variant": "stepped",
    "formatScope": "classic",
    "visiblePeriods": [
      0,
      1,
      2,
      3
    ],
    "showPercentSign": false,
    "total": false,
    "excludeCurrentPeriod": true,
    "title": "Customer retention compared with the previous month",
    "subtitle": {
      "measure": "Customers retained",
      "period": "Nov 2025-Mar 2026"
    },
    "unit": "% of previous period",
    "source": "Subscription ledger, completed monthly cohorts through Feb 2026",
    "basis": "previous",
    "steps": [
      70,
      80,
      85,
      90
    ]
  }
}

Minimal spec

Save this spec as cohort.json and run the command.

{
  "type": "cohort",
  "data": {
    "periodLabel": "Month",
    "cohorts": [
      { "id": "jan", "label": "Jan 2026", "active": [100, 70, 60], "size": 100 },
      { "id": "feb", "label": "Feb 2026", "active": [80, 60], "size": 80 }
    ]
  },
  "options": {
    "unit": "% of cohort base",
    "title": "January retains 60% of its customers at month two",
    "source": "Illustrative data"
  }
}
npx boardplot render cohort.json --out cohort.svg