Skip to main content
Copy for LLM

Heatmap

Heatmaps visualize two-dimensional categorical data with color-encoded values — GitHub's contribution graph is the canonical example. ApexCharts ships heatmap support natively.

Note: heatmap is an ApexCharts-specific chart type. Chart.js does not have a native equivalent; switching to chartjs throws TypeNotSupportedException.

Basic Example — Activity heatmap

Daily commit activity by weekday × hour

One color for every row

Each row of a heatmap is a series, and without colors each row takes a color of the palette, so a cell can only be read against the cells of its own row. Give colors one color and every row takes it, shaded by value, so the busiest cell of the whole chart is the strongest:

Every row in one color, shaded by value

Range-colored — server CPU

CPU usage by server × hour (%)

On the sequential scale

The sequential scale colors a value from faint to strong, here the hours with the most orders. enableShades is off so each cell shows the step of its range as declared. In dark mode the scale runs outward from the dark page, so the quietest hours stay the faintest in both modes.

Orders per hour and weekday on the sequential scale

License note

ApexCharts is non-MIT — see the License section on the Chart overview page and apexcharts.com/license for the full terms.

See Also

  • Treemap for hierarchical 2D breakdowns
  • Radar for multi-dimensional comparisons on a circular layout

Design Tokens

See ApexCharts adapter — Design Tokens for the color, typography, and grid tokens shared across every ApexCharts demo.

Updated in WireKit v2.67.0 (2026-10-15)

Was this page helpful?

Thank you for your feedback!

Voting requires cookies or local storage. What we store