Dev Design Library

Cohort Retention

The retention triangle: cohorts down, periods across, intensity by share retained, with a row and column crosshair and a period average.

Cohort Retention preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Install
npx shadcn@latest add @spectrumui/cohort-chart
Files
  • app/registry/charts/chart-engine.tsx
  • app/registry/charts/cohort-chart.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI