Column chart
Compare years or groups in a column chart: vertical bars, grouped or stacked, with totals, shares, growth rates and prior-year or plan comparisons.
- React
import { ColumnChart } from 'boardplot/react/column';- Reference
- Data, options and sizing
- Use for
- Revenue by year or quarter · Segment mix over time · Monthly actuals against plan · Rank change of a few players between periods (ribbons)
- Revenue is 6–9% above PY despite continued EMEA decline
- Software grows from a quarter to two fifths of revenue
- Services grew from a quarter to 42% of revenue, most of it since 2020
- Revenue dips while two top products are out of stock, then recovers to a W37 high
- Revenue compounds at 11% p.a. as software extends its lead over hardware
- Product B grows fastest and carries most of the plan to 2022
- Our Brand trails Brand 4 by almost half in offline users
- Cloud nearly doubles in four years and passes Core licenses
- Online orders grew every week from W32 to W37
- Orders run above the benchmark in every month
Quarterly revenue against prior year
Stacked columns by region for four quarters with prior-year ticks: revenue is 5.7% to 8.9% above prior year, while EMEA falls from $30m to $26m.
integrated-stacked-variance
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from "slide-4x3" to the width of the site frame.
{
"type": "column",
"data": {
"categories": [
{
"id": "q1",
"label": "Q1"
},
{
"id": "q2",
"label": "Q2"
},
{
"id": "q3",
"label": "Q3"
},
{
"id": "q4",
"label": "Q4"
}
],
"series": [
{
"id": "amer",
"label": "AMER",
"values": [
45,
48,
51,
55
]
},
{
"id": "emea",
"label": "EMEA",
"values": [
30,
29,
27,
26
]
},
{
"id": "apac",
"label": "APAC",
"values": [
12,
14,
15,
17
]
},
{
"id": "py",
"label": "PY",
"scenario": "PY",
"role": "reference",
"values": [
82,
86,
88,
90
]
}
]
},
"options": {
"variant": "stacked",
"title": "Revenue is 6–9% above PY despite continued EMEA decline",
"subtitle": {
"measure": "Revenue by region",
"period": "FY25 by quarter",
"scenarios": [
"AC",
"PY"
]
},
"unit": "$m",
"format": "88",
"legend": "top",
"source": "Illustrative management accounts",
"size": {
"width": 1000
}
}
}Long history with a broken category axis
Stacked columns for 2000, 2010 and 2020, then 2024 to 2026 after an axis break: services grow from $12m of $46m to $58m of $139m.
category-break-years
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": "column",
"data": {
"categories": [
{
"id": "y2000",
"label": "2000"
},
{
"id": "y2010",
"label": "2010"
},
{
"id": "y2020",
"label": "2020",
"breakAfter": true
},
{
"id": "y2024",
"label": "2024"
},
{
"id": "y2025",
"label": "2025"
},
{
"id": "y2026",
"label": "2026"
}
],
"series": [
{
"id": "products",
"label": "Products",
"values": [
34,
48,
66,
74,
77,
81
]
},
{
"id": "services",
"label": "Services",
"values": [
12,
16,
29,
44,
49,
58
]
}
]
},
"options": {
"variant": "stacked",
"connectors": true,
"seriesLabels": {
"at": "right-edge"
},
"title": "Services grew from a quarter to 42% of revenue, most of it since 2020",
"subtitle": {
"company": "Brevinth Devices",
"measure": "Revenue by business",
"period": "2000–2026"
},
"unit": "$m",
"source": "Illustrative annual reports; decade steps to 2020, then annual",
"size": {
"width": 1000
}
}
}Weekly revenue with stock-outs and launches
Weekly online revenue W27 to W39 with an event lane for stock-outs and launches; W37 peaks at 70.4 CHF k and W39 is partial at 31.2.
weekly-events-lane
JSON spec
This spec includes the theme shown and the options you selected.
{
"type": "column",
"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
]
}
]
},
"options": {
"title": "Revenue dips while two top products are out of stock, then recovers to a W37 high",
"subtitle": {
"measure": "Online revenue",
"period": "W27–W39 2026"
},
"unit": "$k",
"format": "1.0",
"source": "Shop orders; inventory log",
"size": {
"width": 960,
"height": 540
},
"events": {
"placement": "auto",
"rows": 1,
"groups": [
{
"id": "stockout",
"label": "Out of stock",
"tone": "bad",
"glyph": "triangle"
},
{
"id": "launch",
"label": "Launch",
"tone": "good",
"glyph": "dot"
}
]
}
},
"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%"
}
]
}
]
}Revenue growth rate with a forecast year
Stacked revenue by business FY19 to FY24F with a growth bracket of +11% a year from $143m to $240m; the forecast year is hatched.
stacked-revenue-cagr
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": "column",
"data": {
"categories": [
{
"id": "fy19",
"label": "FY19",
"date": "2019-12-31"
},
{
"id": "fy20",
"label": "FY20",
"date": "2020-12-31"
},
{
"id": "fy21",
"label": "FY21",
"date": "2021-12-31"
},
{
"id": "fy22",
"label": "FY22",
"date": "2022-12-31"
},
{
"id": "fy23",
"label": "FY23",
"date": "2023-12-31"
},
{
"id": "fy24",
"label": "FY24F",
"date": "2024-12-31"
}
],
"series": [
{
"id": "software",
"label": "Software",
"values": [
58,
72,
89,
104,
126,
{
"number": 148,
"scenario": "FC"
}
]
},
{
"id": "services",
"label": "Services",
"values": [
34,
38,
41,
47,
52,
{
"number": 58,
"scenario": "FC"
}
]
},
{
"id": "hardware",
"label": "Hardware",
"values": [
51,
48,
44,
41,
38,
{
"number": 34,
"scenario": "FC"
}
]
}
]
},
"options": {
"variant": "stacked",
"title": "Revenue compounds at 11% p.a. as software extends its lead over hardware",
"subtitle": {
"company": "Nurthwold Group",
"measure": "Revenue",
"period": "FY19–FY24",
"scenarios": [
"AC",
"FC"
]
},
"unit": "$m",
"source": "Nurthwold annual reports; FY24 company forecast",
"seriesLabels": {
"at": "right-edge"
},
"legend": "bottom",
"size": {
"width": 1000
}
},
"annotations": [
{
"kind": "cagr"
}
]
}Growth rate per product line
Stacked product sales 2014 to 2019 and a 2022 plan, with period growth rates of +5.8% and +6.9% a year; Product B grows fastest at +10.1% a year.
stacked-series-cagr
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: annotations; options.size from {"width":960,"height":540} to the width of the site frame; options.rounding.
{
"type": "column",
"data": {
"categories": [
{
"id": "y2014",
"label": "2014",
"date": "2014-12-31"
},
{
"id": "y2015",
"label": "2015",
"date": "2015-12-31"
},
{
"id": "y2016",
"label": "2016",
"date": "2016-12-31"
},
{
"id": "y2017",
"label": "2017",
"date": "2017-12-31"
},
{
"id": "y2018",
"label": "2018",
"date": "2018-12-31"
},
{
"id": "y2019",
"label": "2019",
"date": "2019-12-31",
"breakAfter": true
},
{
"id": "y2022",
"label": "2022",
"date": "2022-12-31"
}
],
"series": [
{
"id": "d",
"label": "Product D",
"values": [
21,
22,
22,
23,
24,
25,
29
]
},
{
"id": "c",
"label": "Product C",
"values": [
10,
10,
11,
11,
12,
13,
15
]
},
{
"id": "b",
"label": "Product B",
"values": [
19,
21,
22,
24,
26,
28,
41
]
},
{
"id": "a",
"label": "Product A",
"values": [
18,
19,
21,
22,
23,
24,
31
]
}
]
},
"options": {
"variant": "stacked",
"connectors": true,
"seriesLabels": {
"at": "right-edge",
"cagr": true
},
"shareLabels": {
"only": [
"y2022"
],
"format": "26.3%"
},
"valueAxis": {
"show": true
},
"size": {
"width": 1000
},
"title": "Product B grows fastest and carries most of the plan to 2022",
"subtitle": {
"measure": "Product sales",
"period": "2014–2019 actual, 2022 plan"
},
"unit": "$m",
"source": "Synthetic demo data",
"rounding": "sum-consistent"
},
"annotations": [
{
"kind": "cagr",
"from": "y2014",
"to": "y2019"
},
{
"kind": "cagr"
}
]
}Competitor comparison with a gap arrow
Grouped online and offline users for five brands; Our Brand has 14 K offline users, 46% fewer than Brand 4 with 26 K.
clustered-brand-gap
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.unit; options.size from the report frame to the width of the site frame.
{
"type": "column",
"data": {
"categories": [
{
"id": "brand1",
"label": "Brand 1"
},
{
"id": "brand2",
"label": "Brand 2"
},
{
"id": "brand3",
"label": "Brand 3"
},
{
"id": "brand4",
"label": "Brand 4"
},
{
"id": "ourbrand",
"label": "Our Brand"
}
],
"series": [
{
"id": "online",
"label": "Online",
"values": [
12,
17,
14,
19,
11
]
},
{
"id": "offline",
"label": "Offline",
"values": [
18,
22,
19,
26,
14
]
}
]
},
"options": {
"scaleGroup": {
"y": "brand-users",
"id": "clustered-brand-gap"
},
"variant": "grouped",
"valueAxis": {
"show": true,
"gridlines": true
},
"highlight": "ourbrand",
"title": "Our Brand trails Brand 4 by almost half in offline users",
"subtitle": {
"measure": "Active users",
"period": "Q2 2026"
},
"unit": "thousand users",
"source": "App analytics, June 2026",
"legend": "bottom",
"size": {
"width": 1000
}
},
"annotations": [
{
"kind": "diff",
"from": {
"categoryId": "brand4",
"seriesId": "offline",
"edge": "end"
},
"to": {
"categoryId": "ourbrand",
"seriesId": "offline",
"edge": "end"
},
"mode": "relative"
}
]
}Revenue mix by product with names at the left edge
Stacked revenue 2021 to 2025: cloud grows from $28m to $55m and passes core licenses at 52.
series-names-left-edge
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: data.series; options.title; options.size from the report frame to the width of the site frame.
{
"type": "column",
"data": {
"categories": [
{
"id": "2021",
"label": "2021"
},
{
"id": "2022",
"label": "2022"
},
{
"id": "2023",
"label": "2023"
},
{
"id": "2024",
"label": "2024"
},
{
"id": "2025",
"label": "2025"
}
],
"series": [
{
"id": "core",
"label": "Core licenses",
"values": [
42,
45,
47,
50,
52
]
},
{
"id": "cloud",
"label": "Cloud",
"values": [
28,
33,
39,
46,
55
]
},
{
"id": "services",
"label": "Services",
"values": [
15,
16,
18,
19,
21
]
}
]
},
"options": {
"variant": "stacked",
"legend": "none",
"seriesLabels": {
"at": "left-edge"
},
"title": "Cloud nearly doubles in four years and passes Core licenses",
"subtitle": {
"measure": "Revenue",
"period": "2021 to 2025"
},
"unit": "$m",
"source": "Illustrative product revenue",
"size": {
"width": 1000
}
}
}Weekly orders with a running week
Stacked weekly orders, online and retail, W31 to W38; W38 is hatched as to date with 316 orders.
column-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": "column",
"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": "online",
"label": "Online",
"values": [
412,
398,
431,
445,
452,
468,
481,
214
]
},
{
"id": "retail",
"label": "Retail",
"values": [
236,
241,
229,
233,
238,
226,
231,
102
]
}
]
},
"options": {
"variant": "stacked",
"title": "Online orders grew every week from W32 to W37",
"unit": "orders",
"legend": "bottom",
"source": "Illustrative data",
"subtitle": {
"measure": "Orders by channel",
"period": "W31–W38, 2026"
},
"size": {
"width": 1000
}
}
}Monthly orders against a benchmark
Stacked monthly orders by new and returning customers, January to June, all above a dashed benchmark of 100; June reaches 127.
stacked-benchmark-line
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": "column",
"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"
}
],
"series": [
{
"id": "new",
"label": "New customers",
"values": [
42,
45,
48,
51,
50,
55
]
},
{
"id": "returning",
"label": "Returning",
"values": [
60,
62,
61,
66,
70,
72
]
}
]
},
"options": {
"variant": "stacked",
"title": "Orders run above the benchmark in every month",
"subtitle": {
"measure": "Orders",
"period": "H1"
},
"source": "Synthetic monthly orders",
"legend": "bottom",
"size": {
"width": 1000
}
},
"annotations": [
{
"kind": "valueLine",
"value": 100,
"label": "Benchmark"
}
]
}Minimal spec
Save this spec as column.json and run the command.
{
"type": "column",
"data": {
"categories": [{ "id": "north", "label": "North" }, { "id": "south", "label": "South" }],
"series": [{ "id": "revenue", "label": "Revenue", "values": [120, 90] }]
},
"options": { "unit": "$k", "title": "North revenue exceeds South by $30k", "source": "Illustrative data" }
}npx boardplot render column.json --out column.svg