Cohort Charts

This chart is unique in that it uses a custom HTML table instead of Recharts for rendering. Due to this distinction, it accepts different properties and follows a different data model compared to the other charts presented.
Basic usage
<CohortChart data={cohortData} />
Color scale function

The valueToColor function converts a value between 0 and 1 to a color.

style guide for cohort cell colors