Heatmap (matrix)
native
Grid of cells coloured by value
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=heatmap.
Source: chartkit:packages/core/src/generated/schema.ts:24
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "heatmap",
"data": [
{
"x": "A",
"y": "L",
"v": 1
},
{
"x": "B",
"y": "L",
"v": 4
}
],
"encoding": {
"x": "x",
"y": "y",
"color": "v"
},
"a11y": {
"alt": "B is darker."
},
"size": {
"width": 640,
"height": 260
}
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: type.heatmap.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | plugin | — | npm · weak | — |
| Recharts | manual | Customized | mechanism · weak | recharts/types/component/Customized.d.ts:26 |
| Apache ECharts | native | series.type=heatmap | types · strong | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.type=heatmapheatmap module | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.type=heatmap | types · strong | plot-schema.json#traces.heatmap |
| Nivo | native | HeatMap | types · strong | @nivo/heatmap/dist/types/HeatMap.d.ts:4 |
| Victory | unknown | — | conflict · unknown | — |
| visx | native | HeatmapRect, HeatmapCircle | types · strong | @visx/heatmap/lib/heatmaps/HeatmapRect.d.ts:46 |
| ApexCharts | native | chart.type=heatmap | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | cell | types · strong | @observablehq/plot/src/marks/cell.d.ts:47 |
| Vega-Lite | native | mark=rect | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native ent | series.type=heatmap | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | partial | ColumnSeriescolumn series on two category axes + heatRules | types · strong | @amcharts/amcharts5/.internal/charts/xy/series/ColumnSeries.d.ts:33 |
| Google Charts | none | — | absence · absence | — |
| uPlot | manual | Options.hooksdemo heatmap plugin code | mechanism · weak | uplot/dist/uPlot.d.ts:394 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native pro | Heatmap | types · strong | @mui/x-charts-pro/Heatmap/Heatmap.d.mts:79 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | MarkTypes=cell, MarkTypes=heatmap | types · strong | @antv/g2/lib/spec/mark.d.ts:13 |