A GitHub-style contribution heatmap calendar for React and TypeScript. Supports full-year and rolling 52-week views, multi-year data, and is highly customizable. Perfect for visualizing activity, contributions, or any time-series data.
npm install @thomarket/heatmap-calendarimport HeatmapCalendar from '@thomarket/heatmap-calendar';
// Full year view
<HeatmapCalendar
data={data}
year={2024}
/>
// Rolling 52-week period ending in December 2024
<HeatmapCalendar
data={data}
year={2024}
month={11} // December (0-indexed)
/>