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';
Use for
Market size and share · Profit pool by segment · Share of wallet by customer size

Market share by region

percent-axis marimekko, 4 columns × 4 series; column widths proportional to category totals. Totals: Americas 13.9, EMEA 9.7, APAC 6.5, LatAm 1.9. Acme leads in the two largest markets but trails in APAC and LatAm Acme Corp · Market share by region in % of market · FY25 · AC Source: Illustrative market sizing FY25; team analysis 0% 20% 40% 60% 80% 100% Market share, % 13.9 USD bn 6.5 9.7 1.9 Americas APAC EMEA LatAm Acme 44% 43% 28% 21% 45% 37% 32% AlphaCo 29% 26% BetaCorp 19% 18% 16% 16% 9% 9% Gamma 8%

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.

Download SVG Fixture IDstacked100-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

unit-axis mekko, 4 columns × 2 series; column widths proportional to 'Units produced'. Totals: Chassis 64, Powertrain 74, Interior 23, Electronics 44. Scale does not set unit cost: Interior runs at 31% of Powertrain AutoParts AG · Cost per unit in USD · width: units produced in thousands · FY25 · AC Source: Group controlling FY25; plant MES output Labor Material 0 20 40 60 80 Column width: Units produced, thousand units 74 64 44 23 Powertrain 120 Chassis 240 Electronics 90 Interior 150 40 34 34 30 22 22 12 11 Average 52.8

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.

Download SVG Fixture IDunit-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, 5 columns × 1 series; column widths proportional to 'Revenue'. Totals: Components 12.5%, Assembly 3.2%, Distribution 6.8%, Retail −2.4%, Aftermarket 18.9%. Aftermarket earns outsized margin on a tenth of industry revenue EBIT margin by value-chain step in % · width: revenue in $bn · FY25 Source: Annual reports FY25; team analysis 18.9% 3.2% 12.5% 6.8% −2.4% Aftermarket 25 Assembly 95 Components 38 Distribution 42 Retail 60

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%.

Download SVG Fixture IDbar-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