Heatmap chart
Show values or ratings by row and column in a heatmap chart, with a smooth or stepped color scale, values in the cells or Harvey balls (symbols filled in part).
- React
import { HeatmapChart } from 'boardplot/react/heatmap';- Reference
- Data, options and sizing
- Use for
- A value by row and column · Harvey-ball scoring · Sales by weekday and hour
Capability maturity across business units
A matrix of Harvey balls rates six capabilities across five business units from 0 to 4, with the digital channels and data and analytics rows shaded; only Digital Ventures scores high on them.
capability-matrix
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from the report frame to the width of the site frame.
{
"type": "heatmap",
"data": {
"categories": [
{
"id": "industrial",
"label": "Industrial"
},
{
"id": "automotive",
"label": "Automotive"
},
{
"id": "energy",
"label": "Energy"
},
{
"id": "aftermarket",
"label": "Aftermarket"
},
{
"id": "digital-bu",
"label": "Digital Ventures"
}
],
"series": [
{
"id": "pricing",
"label": "Pricing excellence",
"values": [
3,
4,
3,
2,
3
]
},
{
"id": "crm",
"label": "CRM effectiveness",
"values": [
3,
4,
2,
2,
4
]
},
{
"id": "digital-channels",
"label": "Digital channels",
"values": [
1,
2,
2,
0,
4
]
},
{
"id": "data-analytics",
"label": "Data & analytics",
"values": [
1,
2,
1,
1,
3
]
},
{
"id": "talent",
"label": "Talent & skills",
"values": [
2,
3,
2,
1,
3
]
},
{
"id": "partnerships",
"label": "Ecosystem partnerships",
"values": [
2,
1,
3,
1,
2
]
}
]
},
"options": {
"variant": "harvey",
"scale": "discrete",
"title": "Digital and analytics capabilities lag everywhere outside Digital Ventures",
"subtitle": {
"company": "Brevinth Industrial Group",
"measure": "Capability maturity, 0 = absent to 4 = leading",
"period": "June 2026"
},
"source": "Illustrative capability assessment, June 2026",
"highlight": [
"digital-channels",
"data-analytics"
],
"footnotes": [
"Highlighted rows: the digital and analytics capabilities the title names."
],
"size": {
"width": 1000
}
}
}Satisfaction across the customer journey
A bubble matrix of six customer segments by twelve touchpoints, with bubble size for importance and color for the share whose expectations were exceeded; support and renewal are mostly red, and two low-base cells are hatched.
survey-journey-bubbles
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from {"width":960} to the width of the site frame.
{
"type": "heatmap",
"data": {
"categories": [
{
"id": "t1",
"label": "Search"
},
{
"id": "t2",
"label": "Compare"
},
{
"id": "t3",
"label": "Store visit"
},
{
"id": "t4",
"label": "Website"
},
{
"id": "t5",
"label": "App"
},
{
"id": "t6",
"label": "Payment"
},
{
"id": "t7",
"label": "Delivery"
},
{
"id": "t8",
"label": "Setup"
},
{
"id": "t9",
"label": "Support"
},
{
"id": "t10",
"label": "Returns"
},
{
"id": "t11",
"label": "Loyalty"
},
{
"id": "t12",
"label": "Renewal"
}
],
"series": [
{
"id": "new",
"label": "New customers",
"direction": "higherIsBetter",
"values": [
{
"pct": 22
},
{
"pct": 18
},
{
"pct": 41
},
{
"pct": 44
},
{
"pct": 26
},
{
"pct": 38
},
{
"pct": 62
},
{
"pct": 47
},
{
"pct": 24
},
{
"pct": 21
},
{
"pct": 35
},
{
"pct": 58
}
],
"sizes": [
3,
1,
3,
1,
1,
1,
1,
1,
1,
1,
3,
1
],
"bases": [
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200
]
},
{
"id": "families",
"label": "Young families",
"direction": "higherIsBetter",
"values": [
{
"pct": 42
},
{
"pct": 46
},
{
"pct": 39
},
{
"pct": 63
},
{
"pct": 44
},
{
"pct": 27
},
{
"pct": 61
},
{
"pct": 45
},
{
"pct": 47
},
{
"pct": 33
},
{
"pct": 41
},
{
"pct": 36
}
],
"sizes": [
2,
2,
2,
1,
2,
1,
1,
1,
2,
1,
2,
1
],
"bases": [
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200
]
},
{
"id": "frequent",
"label": "Frequent buyers",
"direction": "higherIsBetter",
"values": [
{
"pct": 37
},
{
"pct": 45
},
{
"pct": 33
},
{
"pct": 66
},
{
"pct": 48
},
{
"pct": 40
},
{
"pct": 71
},
{
"pct": 58
},
{
"pct": 46
},
{
"pct": 31
},
{
"pct": 34
},
{
"pct": 19
}
],
"sizes": [
2,
2,
1,
1,
3,
2,
2,
1,
2,
1,
1,
1
],
"bases": [
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200
]
},
{
"id": "price",
"label": "Price seekers",
"direction": "higherIsBetter",
"values": [
{
"pct": 31
},
{
"pct": 17
},
{
"pct": 43
},
{
"pct": 55
},
{
"pct": 41
},
{
"pct": 35
},
{
"pct": 37
},
{
"pct": 44
},
{
"pct": 12
},
{
"pct": 39
},
{
"pct": 33
},
{
"pct": 16
}
],
"sizes": [
1,
1,
1,
1,
2,
1,
1,
2,
3,
1,
1,
2
],
"bases": [
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200
]
},
{
"id": "premium",
"label": "Premium members",
"direction": "higherIsBetter",
"values": [
{
"pct": 36
},
{
"pct": 48
},
{
"pct": 21
},
{
"pct": 39
},
{
"pct": 44
},
{
"pct": 46
},
{
"pct": 32
},
{
"pct": 15
},
{
"pct": 43
},
{
"pct": 19
},
{
"pct": 64
},
{
"pct": 11
}
],
"sizes": [
1,
2,
1,
2,
3,
2,
1,
1,
3,
1,
2,
3
],
"bases": [
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200,
200
]
},
{
"id": "lapsed",
"label": "Lapsed customers",
"direction": "higherIsBetter",
"values": [
{
"pct": 38
},
{
"pct": 42
},
{
"pct": 34
},
{
"pct": 59
},
{
"pct": 46
},
{
"pct": 33
},
{
"pct": 52
},
{
"pct": 38
},
{
"pct": 14
},
{
"pct": 24
},
{
"pct": 41
},
{
"pct": 9
}
],
"sizes": [
1,
2,
1,
1,
2,
1,
1,
1,
3,
1,
1,
3
],
"bases": [
180,
175,
160,
170,
150,
140,
120,
38,
110,
26,
90,
160
]
}
]
},
"options": {
"variant": "bubble",
"scale": "discrete",
"breaks": [
0,
30,
50,
100
],
"bubble": {
"levels": [
"Low",
"Medium",
"High"
],
"sizeLabel": "Importance",
"colorLabel": "Expectations exceeded, % of respondents"
},
"minBase": 50,
"title": "Support and renewal disappoint where they matter most",
"subtitle": {
"measure": "Importance and satisfaction by customer segment and touchpoint"
},
"source": "Invented customer survey, 1,100 respondents",
"size": {
"width": 1000
}
}
}Channel orders with growth brackets
A heatmap of orders by channel for FY21 to FY23 shows Online growing from 100 to 144, which is 20% a year, and Store adding 40 orders, from 110 to 150.
period-comparisons
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from {"width":900,"height":330} to the width of the site frame.
{
"type": "heatmap",
"data": {
"categories": [
{
"id": "fy21",
"label": "FY21",
"date": "2021-12-31"
},
{
"id": "fy22",
"label": "FY22",
"date": "2022-12-31"
},
{
"id": "fy23",
"label": "FY23",
"date": "2023-12-31"
}
],
"series": [
{
"id": "online",
"label": "Online",
"values": [
100,
120,
144
]
},
{
"id": "store",
"label": "Store",
"values": [
110,
130,
150
]
},
{
"id": "partner",
"label": "Partner",
"values": [
80,
90,
100
]
}
]
},
"options": {
"size": {
"width": 1000
},
"title": "Online grows 20% a year; Store adds 40 orders",
"subtitle": {
"measure": "Orders",
"period": "FY21 to FY23"
},
"source": "Illustrative channel orders",
"annotations": [
{
"id": "growth",
"kind": "cagr",
"from": {
"categoryId": "fy21",
"seriesId": "online"
},
"to": {
"categoryId": "fy23",
"seriesId": "online"
}
},
{
"id": "gap",
"kind": "diff",
"mode": "absolute",
"from": {
"categoryId": "fy21",
"seriesId": "store"
},
"to": {
"categoryId": "fy23",
"seriesId": "store"
}
}
]
}
}Savings by function with missing waves
A heatmap of run-rate savings in $m for four functions across five waves leaves unreported cells blank; values range from $4.1m for Overhead to $28.1m for Manufacturing.
missing-cells-blank
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from the report frame to the width of the site frame.
{
"type": "heatmap",
"data": {
"categories": [
{
"id": "wave1",
"label": "Wave 1"
},
{
"id": "wave2",
"label": "Wave 2"
},
{
"id": "wave3",
"label": "Wave 3"
},
{
"id": "wave4",
"label": "Wave 4"
},
{
"id": "wave5",
"label": "Wave 5"
}
],
"series": [
{
"id": "procurement",
"label": "Procurement",
"values": [
12.4,
15.1,
null,
18.2,
20.5
]
},
{
"id": "logistics",
"label": "Logistics",
"values": [
8.2,
null,
9.6,
11,
null
]
},
{
"id": "manufacturing",
"label": "Manufacturing",
"values": [
null,
22.4,
24.8,
null,
28.1
]
},
{
"id": "overhead",
"label": "Overhead",
"values": [
4.1,
4.4,
null,
null,
6.2
]
}
]
},
"options": {
"missing": "blank",
"title": "Unreported waves stay blank",
"subtitle": {
"measure": "Run-rate savings",
"period": "Program to date"
},
"unit": "$m",
"source": "Transformation office tracker, June 2026",
"size": {
"width": 1000
}
}
}Minimal spec
Save this spec as heatmap.json and run the command.
{
"type": "heatmap",
"data": {
"categories": [{ "id": "jan", "label": "Jan" }, { "id": "feb", "label": "Feb" }],
"series": [
{ "id": "north", "label": "North", "values": [80, 95] },
{ "id": "south", "label": "South", "values": [65, 85] }
]
},
"options": {
"unit": "orders",
"title": "Orders rise in both regions in February",
"source": "Illustrative data"
}
}npx boardplot render heatmap.json --out heatmap.svg