Combination chart
Draw columns with line or area overlays in one combination chart (combo chart), on one value axis or on two axes whose ticks line up.
- React
import { ComboChart } from 'boardplot/react/combo';- Reference
- Data, options and sizing
- Use for
- Volume with a rate line · Revenue and margin on two axes · Orders with average order value
- The average order leaves its normal range in June and September
- Utilization more than doubles as the installed base scales
- Orders beat plan in every full week
- Conversion bottoms out in August and peaks in November
- Margin expands 4.7 points from Q1 to Q4
- Units grow four times as fast as revenue
- Revenue falls below prior year during the stock-outs and passes it after the launches
Order value outside its normal range
Monthly revenue columns of $390k to $520k sit under an average order value line that leaves a $52 to $64 corridor in June (66.8) and September (51.3).
order-value-threshold-corridor
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from {"width":960,"height":540} to the width of the site frame.
{
"type": "combo",
"data": {
"categories": [
{
"id": "jan",
"label": "Jan"
},
{
"id": "feb",
"label": "Feb"
},
{
"id": "mar",
"label": "Mar"
},
{
"id": "apr",
"label": "Apr"
},
{
"id": "may",
"label": "May"
},
{
"id": "jun",
"label": "Jun"
},
{
"id": "jul",
"label": "Jul"
},
{
"id": "aug",
"label": "Aug"
},
{
"id": "sep",
"label": "Sep"
},
{
"id": "oct",
"label": "Oct"
},
{
"id": "nov",
"label": "Nov"
},
{
"id": "dec",
"label": "Dec"
}
],
"series": [
{
"id": "revenue",
"label": "Revenue",
"values": [
410,
420,
415,
430,
440,
520,
445,
450,
390,
455,
470,
480
]
},
{
"id": "aov",
"label": "Average order value",
"kind": "line",
"axis": "secondary",
"values": [
58.2,
58.9,
58.4,
59.1,
58.7,
66.8,
59,
58.8,
51.3,
59.4,
59.8,
59.5
]
}
]
},
"options": {
"anomaly": {
"method": "threshold",
"low": 52,
"high": 64,
"label": "Pricing guardrail"
},
"secondaryAxis": {
"acknowledge": true
},
"dualAxis": {
"anatomy": true
},
"axisTitles": {
"primary": "Revenue, $k",
"secondary": "Average order value, $"
},
"valueAxis": {
"show": true
},
"valueLabels": "none",
"title": "The average order leaves its normal range in June and September",
"subtitle": {
"measure": "Revenue and average order value",
"period": "FY26 by month"
},
"source": "Illustrative web shop data",
"size": {
"width": 1000
}
}
}Forecast years hatched under a smooth line
Installed base columns grow from 42k to 91k units while a utilization line rises from 31% to 69%, with FY25 to FY27 hatched as forecast.
smooth-forecast-overlay
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.title; options.size from the report frame to the width of the site frame.
{
"type": "combo",
"data": {
"categories": [
{
"id": "fy22",
"label": "FY22"
},
{
"id": "fy23",
"label": "FY23"
},
{
"id": "fy24",
"label": "FY24"
},
{
"id": "fy25",
"label": "FY25"
},
{
"id": "fy26",
"label": "FY26"
},
{
"id": "fy27",
"label": "FY27"
}
],
"series": [
{
"id": "installed",
"label": "Installed base",
"unit": "k units",
"values": [
42,
48,
57,
{
"number": 68,
"scenario": "FC"
},
{
"number": 80,
"scenario": "FC"
},
{
"number": 91,
"scenario": "FC"
}
]
},
{
"id": "utilization",
"label": "Utilization",
"kind": "line",
"axis": "secondary",
"unit": "%",
"smooth": true,
"format": "45%",
"values": [
31,
36,
44,
{
"number": 55,
"scenario": "FC"
},
{
"number": 63,
"scenario": "FC"
},
{
"number": 69,
"scenario": "FC"
}
]
}
]
},
"options": {
"interpolate": "monotone",
"title": "Utilization more than doubles as the installed base scales",
"subtitle": {
"measure": "Installed base and utilization",
"period": "FY22–FY27"
},
"secondaryAxis": {
"acknowledge": true
},
"axisTitles": {
"primary": "Installed base, k units",
"secondary": "Utilization, %"
},
"source": "Illustrative operating plan",
"legend": "bottom",
"size": {
"width": 1000
}
}
}Weekly orders against plan
Weekly order columns of 639 to 712 beat a plan line near 630 in every full week, and the current week shows a hatched 316 to date.
combo-partial-week
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.subtitle; options.size from the report frame to the width of the site frame.
{
"type": "combo",
"data": {
"categories": [
{
"id": "w31",
"label": "W31"
},
{
"id": "w32",
"label": "W32"
},
{
"id": "w33",
"label": "W33"
},
{
"id": "w34",
"label": "W34"
},
{
"id": "w35",
"label": "W35"
},
{
"id": "w36",
"label": "W36"
},
{
"id": "w37",
"label": "W37"
},
{
"id": "w38",
"label": "W38",
"partial": true
}
],
"series": [
{
"id": "orders",
"label": "Orders",
"values": [
648,
639,
660,
678,
690,
694,
712,
316
]
},
{
"id": "plan",
"label": "Plan",
"kind": "line",
"values": [
560,
570,
580,
590,
600,
610,
620,
630
]
}
]
},
"options": {
"title": "Orders beat plan in every full week",
"unit": "orders",
"legend": "bottom",
"source": "Illustrative data",
"subtitle": {
"measure": "Orders by week",
"period": "W31–W38, 2026",
"scenarios": [
"AC",
"PL"
]
},
"size": {
"width": 1000
}
}
}Orders with conversion low and high
Monthly order columns of 38k to 64k sit under a conversion line that starts at 2.8%, bottoms out at 2.1% in August and peaks at 3.4% in November.
line-labels-extremes
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": "combo",
"data": {
"categories": [
{
"id": "jan",
"label": "Jan"
},
{
"id": "feb",
"label": "Feb"
},
{
"id": "mar",
"label": "Mar"
},
{
"id": "apr",
"label": "Apr"
},
{
"id": "may",
"label": "May"
},
{
"id": "jun",
"label": "Jun"
},
{
"id": "jul",
"label": "Jul"
},
{
"id": "aug",
"label": "Aug"
},
{
"id": "sep",
"label": "Sep"
},
{
"id": "oct",
"label": "Oct"
},
{
"id": "nov",
"label": "Nov"
},
{
"id": "dec",
"label": "Dec"
}
],
"series": [
{
"id": "orders",
"label": "Orders",
"values": [
42,
40,
44,
43,
45,
47,
41,
38,
46,
50,
58,
64
]
},
{
"id": "conversion",
"label": "Conversion",
"kind": "line",
"axis": "secondary",
"values": [
{
"pct": 2.8
},
{
"pct": 2.7
},
{
"pct": 2.9
},
{
"pct": 2.8
},
{
"pct": 2.6
},
{
"pct": 2.4
},
{
"pct": 2.2
},
{
"pct": 2.1
},
{
"pct": 2.5
},
{
"pct": 2.9
},
{
"pct": 3.4
},
{
"pct": 3.1
}
]
}
]
},
"options": {
"secondaryAxis": {
"acknowledge": true,
"show": false
},
"axisTitles": {
"primary": "Orders, k",
"secondary": "Conversion, %"
},
"valueAxis": {
"show": true
},
"valueLabels": "extremes",
"title": "Conversion bottoms out in August and peaks in November",
"subtitle": {
"company": "Nurthwold Online",
"measure": "Orders and conversion rate",
"period": "FY25 by month"
},
"source": "Web analytics, FY25",
"legend": "bottom",
"size": {
"width": 1000
}
}
}Revenue with margin on its own scale
Quarterly revenue columns rise from $55m to $66m while the EBITDA margin line rises from 31.5% to 36.2%.
margin-line-own-scale
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.title; options.size from the report frame to the width of the site frame.
{
"type": "combo",
"data": {
"categories": [
{
"id": "q1",
"label": "Q1"
},
{
"id": "q2",
"label": "Q2"
},
{
"id": "q3",
"label": "Q3"
},
{
"id": "q4",
"label": "Q4"
}
],
"series": [
{
"id": "revenue",
"label": "Revenue",
"values": [
55,
59,
60,
66
]
},
{
"id": "margin",
"label": "EBITDA margin",
"kind": "line",
"axis": "secondary",
"values": [
{
"pct": 31.5
},
{
"pct": 33
},
{
"pct": 34.1
},
{
"pct": 36.2
}
]
}
]
},
"options": {
"secondaryAxis": {
"acknowledge": true,
"show": false
},
"axisTitles": {
"primary": "Revenue, $m",
"secondary": "EBITDA margin, %"
},
"valueAxis": {
"show": true
},
"valueLabels": "all",
"title": "Margin expands 4.7 points from Q1 to Q4",
"subtitle": {
"company": "Atlas Components",
"measure": "Revenue and EBITDA margin",
"period": "FY25 by quarter"
},
"source": "Atlas group controlling, FY25 actuals",
"legend": "bottom",
"size": {
"width": 1000
}
}
}Gray columns with a highlighted lead line
Option shown: Lead line, gray columns and the line in ink.
Gray revenue columns rise from $323m to $429m under a dark units line that ends at 48.3k with a ringed last point.
option-ink-lead-line
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.theme; options.size from the report frame to the width of the site frame.
{
"type": "combo",
"data": {
"categories": [
{
"id": "2019",
"label": "2019",
"date": "2019-12-31"
},
{
"id": "2020",
"label": "2020",
"date": "2020-12-31"
},
{
"id": "2021",
"label": "2021",
"date": "2021-12-31"
},
{
"id": "2022",
"label": "2022",
"date": "2022-12-31"
},
{
"id": "2023",
"label": "2023",
"date": "2023-12-31"
},
{
"id": "2024",
"label": "2024",
"date": "2024-12-31"
}
],
"series": [
{
"id": "revenue",
"label": "Revenue",
"values": [
323,
342,
358,
381,
402,
429
]
},
{
"id": "units",
"label": "Units sold",
"kind": "line",
"axis": "secondary",
"unit": "k",
"values": [
21.2,
24.8,
27.5,
33.1,
41.7,
48.3
]
}
]
},
"options": {
"interpolate": "linear",
"secondaryAxis": {
"acknowledge": true
},
"axisTitles": {
"primary": "Revenue, $m",
"secondary": "Units sold, k units"
},
"valueAxis": {
"show": true
},
"theme": {
"preset": "bridge",
"overrides": {
"color": {
"focus": "#0B1B3A"
},
"marks": {
"comboColumnTint": 0.74,
"comboLine": "ink",
"lineMarkers": "none"
}
}
},
"title": "Units grow four times as fast as revenue",
"subtitle": {
"company": "Vertex Mobility",
"measure": "Revenue and units sold",
"period": "2019–2024"
},
"unit": "$m",
"source": "Illustrative annual figures 2019–2024",
"legend": "bottom",
"size": {
"width": 1000
}
}
}Revenue with stock-out and launch events
Weekly online revenue columns from 51.2 to 70.4 CHF k are compared with prior year, with seven numbered stock-out and launch events keyed below.
revenue-events-key-title
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.subtitle.
{
"type": "combo",
"data": {
"categories": [
{
"id": "w27",
"label": "W27\n29 Jun",
"date": "2026-06-29"
},
{
"id": "w28",
"label": "W28\n6 Jul",
"date": "2026-07-06"
},
{
"id": "w29",
"label": "W29\n13 Jul",
"date": "2026-07-13"
},
{
"id": "w30",
"label": "W30\n20 Jul",
"date": "2026-07-20"
},
{
"id": "w31",
"label": "W31\n27 Jul",
"date": "2026-07-27"
},
{
"id": "w32",
"label": "W32\n3 Aug",
"date": "2026-08-03"
},
{
"id": "w33",
"label": "W33\n10 Aug",
"date": "2026-08-10"
},
{
"id": "w34",
"label": "W34\n17 Aug",
"date": "2026-08-17"
},
{
"id": "w35",
"label": "W35\n24 Aug",
"date": "2026-08-24"
},
{
"id": "w36",
"label": "W36\n31 Aug",
"date": "2026-08-31"
},
{
"id": "w37",
"label": "W37\n7 Sep",
"date": "2026-09-07"
},
{
"id": "w38",
"label": "W38\n14 Sep",
"date": "2026-09-14"
},
{
"id": "w39",
"label": "W39\n21 Sep",
"date": "2026-09-21",
"partial": true
}
],
"series": [
{
"id": "rev",
"label": "Revenue",
"values": [
62.1,
55.4,
51.2,
52.9,
54.3,
60.8,
57,
56.7,
61.5,
64.2,
70.4,
68.9,
31.2
]
},
{
"id": "py",
"label": "Prior year",
"kind": "line",
"scenario": "PY",
"values": [
58,
57.6,
56.1,
56.9,
57.8,
59.2,
58.6,
58.1,
59.9,
60.7,
61.8,
61.2,
60.4
]
}
]
},
"options": {
"title": "Revenue falls below prior year during the stock-outs and passes it after the launches",
"subtitle": {
"measure": "Online revenue",
"period": "W27–W39 2026, AC vs PY"
},
"unit": "$k",
"format": "1.0",
"legend": "bottom",
"source": "Shop orders; inventory log",
"size": {
"width": 960,
"height": 681
},
"events": {
"placement": "auto",
"groups": [
{
"id": "stockout",
"label": "Out of stock",
"tone": "bad",
"glyph": "triangle"
},
{
"id": "launch",
"label": "Launch",
"tone": "good",
"glyph": "dot"
}
],
"rows": 0,
"keyTitle": "Stock and launch events"
}
},
"annotations": [
{
"kind": "event",
"id": "oos-runner",
"date": "2026-06-29",
"end": "2026-08-05",
"group": "stockout",
"label": "2 top products",
"detail": [
"Trail Runner Pro (2 sizes), Summit Jacket",
"24–38 days out · ~$5.1k at risk"
],
"priority": 10
},
{
"kind": "event",
"id": "oos-bottle",
"date": "2026-07-06",
"end": "2026-07-29",
"group": "stockout",
"label": "Aqua Bottle 750",
"detail": "24 days out · ~$2.1k at risk"
},
{
"kind": "event",
"id": "launch-socks",
"date": "2026-07-06",
"group": "launch",
"label": "Nordic Wool Socks",
"detail": "$4.1k in first 30 days"
},
{
"kind": "event",
"id": "launch-cap",
"date": "2026-08-03",
"group": "launch",
"label": "Breeze Cap",
"detail": "$1.6k in first 30 days"
},
{
"kind": "event",
"id": "oos-tote",
"date": "2026-08-10",
"end": "2026-09-20",
"group": "stockout",
"label": "Canvas Tote Large",
"detail": "42 days out · ~$2.0k at risk",
"priority": 10
},
{
"kind": "event",
"id": "launch-fleece",
"date": "2026-08-26",
"group": "launch",
"label": "Alpine Fleece",
"detail": "$0.9k in first 30 days"
},
{
"kind": "event",
"id": "launch-shell",
"date": "2026-09-07",
"group": "launch",
"label": "Harbor Rain Shell",
"detail": "Newsletter feature on day 1",
"items": [
{
"label": "Home-page banner for the first two weeks",
"detail": "Front page and the weekly email"
},
{
"label": "Daily ad budget +10%"
}
]
}
]
}Minimal spec
Save this spec as combo.json and run the command.
{
"type": "combo",
"data": {
"categories": [
{ "id": "jan", "label": "Jan" },
{ "id": "feb", "label": "Feb" },
{ "id": "mar", "label": "Mar" }
],
"series": [
{
"id": "revenue",
"label": "Revenue",
"values": [80, 95, 110],
"kind": "column",
"scenario": "AC"
},
{ "id": "plan", "label": "Plan", "values": [90, 90, 100], "kind": "line", "scenario": "PL" }
]
},
"options": {
"unit": "$k",
"title": "Revenue moves from below plan to above plan",
"source": "Illustrative data",
"footnotes": ["AC = actual; PL = plan."]
}
}npx boardplot render combo.json --out combo.svg