Marimekko chart
Map a market by segment and player with a Marimekko chart (Mekko chart): stacked columns of variable width, or bar-mekko rows for profit pools.
- React
import { MekkoChart } from 'boardplot/react/mekko';- Reference
- Data, options and sizing
- Use for
- Market size and share · Profit pool by segment · Share of wallet by customer size
Market share by region
Marimekko of market share in four regions (Americas, EMEA, APAC, LatAm) with column width by market size; Acme holds 44% and 43% in the two largest and 28% in APAC, outlined as a step.
stacked100-market-map
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from {"width":720,"height":511} to the width of the site frame.
{
"type": "mekko",
"data": {
"categories": [
{
"id": "americas",
"label": "Americas"
},
{
"id": "emea",
"label": "EMEA"
},
{
"id": "apac",
"label": "APAC"
},
{
"id": "latam",
"label": "LatAm"
}
],
"series": [
{
"id": "acme",
"label": "Acme",
"colorRole": "highlight",
"unit": "USD bn",
"values": [
6.1,
4.2,
1.8,
0.4
]
},
{
"id": "alpha",
"label": "AlphaCo",
"unit": "USD bn",
"values": [
4,
3.1,
2.9,
0.7
]
},
{
"id": "beta",
"label": "BetaCorp",
"unit": "USD bn",
"values": [
2.6,
1.5,
1.2,
0.5
]
},
{
"id": "gamma",
"label": "Gamma",
"unit": "USD bn",
"values": [
1.2,
0.9,
0.6,
0.3
]
}
]
},
"options": {
"variant": "stacked100",
"ridge": "acme",
"highlight": "acme",
"title": "Acme leads in the two largest markets but trails in APAC and LatAm",
"subtitle": {
"company": "Acme Corp",
"measure": "Market share by region",
"period": "FY25",
"scenarios": [
"AC"
]
},
"unit": "% of market",
"axisTitles": {
"primary": "Market share, %"
},
"size": {
"width": 1000
},
"source": "Illustrative market sizing FY25; team analysis",
"rounding": "sum-consistent"
}
}Unit cost against volume
Variable-width columns of cost per unit for Chassis (64), Powertrain (74), Interior (23) and Electronics (44), split into labor and material, with a dashed volume-weighted average of 52.8.
unit-cost-staircase
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from {"width":720,"height":511} to the width of the site frame.
{
"type": "mekko",
"data": {
"categories": [
{
"id": "bu2",
"label": "Chassis"
},
{
"id": "bu1",
"label": "Powertrain"
},
{
"id": "bu4",
"label": "Interior"
},
{
"id": "bu3",
"label": "Electronics"
}
],
"series": [
{
"id": "units",
"label": "Units produced",
"role": "reference",
"unit": "thousand units",
"values": [
240,
120,
150,
90
]
},
{
"id": "labor",
"label": "Labor",
"values": [
34,
40,
12,
22
]
},
{
"id": "material",
"label": "Material",
"values": [
30,
34,
11,
22
]
}
]
},
"options": {
"variant": "stacked",
"widthSeriesId": "units",
"sort": {
"segments": "sheet"
},
"title": "Scale does not set unit cost: Interior runs at 31% of Powertrain",
"subtitle": {
"company": "AutoParts AG",
"measure": "Cost per unit",
"period": "width: units produced in thousands · FY25",
"scenarios": [
"AC"
]
},
"unit": "USD",
"source": "Group controlling FY25; plant MES output",
"legend": "bottom",
"size": {
"width": 1000
}
},
"annotations": [
{
"kind": "valueLine"
}
]
}Profit pool by value-chain step
Bar-mekko of EBIT margin by value-chain step with width as revenue; Aftermarket earns 18.9% on 25 of $260 billion, and Retail is at minus 2.4%.
bar-mekko-profit-pool
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": "mekko",
"data": {
"categories": [
{
"id": "components",
"label": "Components"
},
{
"id": "assembly",
"label": "Assembly"
},
{
"id": "distribution",
"label": "Distribution"
},
{
"id": "retail",
"label": "Retail"
},
{
"id": "aftermarket",
"label": "Aftermarket"
}
],
"series": [
{
"id": "revenue",
"label": "Revenue",
"role": "reference",
"unit": "$bn",
"values": [
38,
95,
42,
60,
25
]
},
{
"id": "margin",
"label": "EBIT margin",
"values": [
{
"pct": 12.5
},
{
"pct": 3.2
},
{
"pct": 6.8
},
{
"pct": -2.4
},
{
"pct": 18.9
}
]
}
]
},
"options": {
"variant": "bar",
"widthSeriesId": "revenue",
"title": "Aftermarket earns outsized margin on a tenth of industry revenue",
"subtitle": {
"measure": "EBIT margin by value-chain step",
"period": "width: revenue in $bn · FY25"
},
"unit": "%",
"source": "Annual reports FY25; team analysis",
"size": {
"width": 1000
}
}
}Minimal spec
Save this spec as mekko.json and run the command.
{
"type": "mekko",
"data": {
"categories": [{ "id": "north", "label": "North" }, { "id": "south", "label": "South" }],
"series": [
{ "id": "renewals", "label": "Renewals", "values": [80, 30] },
{ "id": "new", "label": "New", "values": [40, 50] }
]
},
"options": {
"unit": "$k",
"title": "North has more revenue and a larger renewal share",
"source": "Illustrative data"
}
}npx boardplot render mekko.json --out mekko.svg