Features · type

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.

B is darker.B is darker.LABA, L: 1B, L: 4v14
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsplugin—npm · weak—
RechartsmanualCustomizedmechanism · weakrecharts/types/component/Customized.d.ts:26
Apache EChartsnativeseries.type=heatmaptypes · strongecharts/types/dist/shared.d.ts:11176
Highchartsnativeseries.type=heatmapheatmap moduletypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.type=heatmaptypes · strongplot-schema.json#traces.heatmap
NivonativeHeatMaptypes · strong@nivo/heatmap/dist/types/HeatMap.d.ts:4
Victoryunknown—conflict · unknown—
visxnativeHeatmapRect, HeatmapCircletypes · strong@visx/heatmap/lib/heatmaps/HeatmapRect.d.ts:46
ApexChartsnativechart.type=heatmaptypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)none—absence · absence—
Observable Plotnativecelltypes · strong@observablehq/plot/src/marks/cell.d.ts:47
Vega-Litenativemark=recttypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnative entseries.type=heatmaptypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5partialColumnSeriescolumn series on two category axes + heatRulestypes · strong@amcharts/amcharts5/.internal/charts/xy/series/ColumnSeries.d.ts:33
Google Chartsnone—absence · absence—
uPlotmanualOptions.hooksdemo heatmap plugin codemechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnative proHeatmaptypes · strong@mui/x-charts-pro/Heatmap/Heatmap.d.mts:79
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativeMarkTypes=cell, MarkTypes=heatmaptypes · strong@antv/g2/lib/spec/mark.d.ts:13