Choropleth map chart
Color regions by value on a choropleth map. Six map packs are bundled: world, Europe, EU27, DACH (Germany, Austria, Switzerland), German states and US states.
- React
import { ChoroplethChart } from 'boardplot/react/choropleth';- Reference
- Data, options and sizing
- Use for
- A value per country or state · Regional penetration · Growth rate by region
Revenue concentration by German state
A map of Germany shades 16 states by revenue; NW (104.3), BY (82.1), BW (68.4) and NI ($49.2bn) together earn 304.0 of $550.6bn, or 55%.
german-states-revenue
JSON spec
This spec includes the theme shown and the options you selected.
{
"type": "choropleth",
"data": {
"pack": "de-states",
"regions": [
{
"id": "DE-BW",
"value": 68.4
},
{
"id": "DE-BY",
"value": 82.1
},
{
"id": "DE-BE",
"value": 31.8
},
{
"id": "DE-BB",
"value": 18.6
},
{
"id": "DE-HB",
"value": 8.7
},
{
"id": "DE-HH",
"value": 26.4
},
{
"id": "DE-HE",
"value": 46.9
},
{
"id": "DE-MV",
"value": 9.8
},
{
"id": "DE-NI",
"value": 49.2
},
{
"id": "DE-NW",
"value": 104.3
},
{
"id": "DE-RP",
"value": 25.7
},
{
"id": "DE-SL",
"value": 7.1
},
{
"id": "DE-SN",
"value": 24.9
},
{
"id": "DE-ST",
"value": 13.3
},
{
"id": "DE-SH",
"value": 20.8
},
{
"id": "DE-TH",
"value": 12.6
}
]
},
"options": {
"labels": "auto",
"title": "Four states, NW, BY, BW and NI, earn 55% of regional revenue",
"footnotes": [
"NW 104.3, BY 82.1, BW 68.4 and NI 49.2: $304.0bn of $550.6bn, 55.2%."
],
"subtitle": {
"measure": "Revenue by state",
"period": "FY25"
},
"unit": "$bn",
"format": "1.1",
"scale": {
"kind": "sequential"
},
"classes": 5,
"source": "Illustrative management reporting"
}
}EU inflation around a 2% midpoint
An EU-27 map colors June 2026 inflation from 1.1% (green) to 5.6% (red) around 2.0%, with the highest rates in Romania, Hungary and Poland.
eu-inflation
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from "a4" to the width of the site frame.
{
"type": "choropleth",
"data": {
"pack": "eu27",
"regions": [
{
"id": "AT",
"value": 3.4
},
{
"id": "BE",
"value": 3.1
},
{
"id": "BG",
"value": 2.8
},
{
"id": "HR",
"value": 4.5
},
{
"id": "CY",
"value": 2.2
},
{
"id": "CZ",
"value": 2.7
},
{
"id": "DK",
"value": 1.8
},
{
"id": "EE",
"value": 4.1
},
{
"id": "FI",
"value": 1.2
},
{
"id": "FR",
"value": 1.6
},
{
"id": "DE",
"value": 2.3
},
{
"id": "GR",
"value": 2.9
},
{
"id": "HU",
"value": 5.2
},
{
"id": "IE",
"value": 1.4
},
{
"id": "IT",
"value": 1.1
},
{
"id": "LV",
"value": 3.3
},
{
"id": "LT",
"value": 3.7
},
{
"id": "LU",
"value": 2.1
},
{
"id": "MT",
"value": 2.6
},
{
"id": "NL",
"value": 3.8
},
{
"id": "PL",
"value": 4.7
},
{
"id": "PT",
"value": 2.1
},
{
"id": "RO",
"value": 5.6
},
{
"id": "SK",
"value": 3.9
},
{
"id": "SI",
"value": 2.5
},
{
"id": "ES",
"value": 2.4
},
{
"id": "SE",
"value": 1.9
}
]
},
"options": {
"title": "Inflation remains above 2% across much of Central and Eastern Europe",
"subtitle": {
"measure": "Annual consumer-price inflation",
"period": "June 2026"
},
"format": "1.1%",
"scale": {
"kind": "diverging",
"midpoint": 2,
"polarity": "lowerIsBetter"
},
"source": "Illustrative harmonized inflation dataset"
}
}Market share across DACH
Map of category market share in FY25: Germany 34.6%, Switzerland 31.2% and Austria 27.8%.
dach-all-region-labels
JSON spec
This spec includes the theme shown and the options you selected.
{
"type": "choropleth",
"data": {
"pack": "dach",
"regions": [
{
"id": "DE",
"value": 34.6
},
{
"id": "AT",
"value": 27.8
},
{
"id": "CH",
"value": 31.2
}
]
},
"options": {
"title": "Germany leads DACH share, with Switzerland close behind",
"subtitle": {
"measure": "Category market share",
"period": "FY25"
},
"format": "1.1%",
"scale": {
"kind": "sequential"
},
"source": "Illustrative syndicated market panel",
"labels": "all",
"valueTable": "auto"
}
}World map with automatic country labels
World map of illustrative consumer-price inflation in 2026 on a scale from 0.6% to 10.0% around a 3.0% midpoint; countries above it are red and countries below it green. Lower is better.
world-inflation
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.size from "a4" to the width of the site frame; options.subtitle; options.source.
{
"type": "choropleth",
"data": {
"pack": "world",
"regions": [
{
"id": "AE",
"value": 5.7
},
{
"id": "AF",
"value": 4.7
},
{
"id": "AL",
"value": 6.5
},
{
"id": "AM",
"value": 5.5
},
{
"id": "AO",
"value": 3.5
},
{
"id": "AR",
"value": 10
},
{
"id": "AT",
"value": 6.3
},
{
"id": "AU",
"value": 5.3
},
{
"id": "AZ",
"value": 8.1
},
{
"id": "BA",
"value": 7
},
{
"id": "BB",
"value": 6
},
{
"id": "BD",
"value": 4
},
{
"id": "BE",
"value": 3
},
{
"id": "BF",
"value": 2
},
{
"id": "BG",
"value": 1
},
{
"id": "BH",
"value": 7.8
},
{
"id": "BI",
"value": 6.8
},
{
"id": "BJ",
"value": 5.8
},
{
"id": "BM",
"value": 2.8
},
{
"id": "BN",
"value": 1.8
},
{
"id": "BO",
"value": 0.8
},
{
"id": "BR",
"value": 5.6
},
{
"id": "BS",
"value": 4.6
},
{
"id": "BT",
"value": 3.6
},
{
"id": "BW",
"value": 0.6
},
{
"id": "BY",
"value": 6.4
},
{
"id": "BZ",
"value": 5.4
},
{
"id": "CA",
"value": 4.3
},
{
"id": "CD",
"value": 9.9
},
{
"id": "CF",
"value": 7.1
},
{
"id": "CG",
"value": 6.1
},
{
"id": "CH",
"value": 5.1
},
{
"id": "CI",
"value": 4.1
},
{
"id": "CK",
"value": 2.1
},
{
"id": "CL",
"value": 1.1
},
{
"id": "CM",
"value": 7.9
},
{
"id": "CN",
"value": 6.9
},
{
"id": "CO",
"value": 5.9
},
{
"id": "CR",
"value": 2.9
},
{
"id": "CU",
"value": 7.7
},
{
"id": "CY",
"value": 3.7
},
{
"id": "CYN",
"value": 3.7
},
{
"id": "CZ",
"value": 2.7
},
{
"id": "DE",
"value": 5.4
},
{
"id": "DJ",
"value": 8.2
},
{
"id": "DK",
"value": 7.2
},
{
"id": "DO",
"value": 3.2
},
{
"id": "DZ",
"value": 9.8
},
{
"id": "EC",
"value": 4.7
},
{
"id": "EE",
"value": 2.7
},
{
"id": "EG",
"value": 0.7
},
{
"id": "EH",
"value": 7.5
},
{
"id": "ER",
"value": 5.3
},
{
"id": "ES",
"value": 4.3
},
{
"id": "ET",
"value": 9.7
},
{
"id": "FI",
"value": 3.8
},
{
"id": "FJ",
"value": 2.8
},
{
"id": "FK",
"value": 1.8
},
{
"id": "FM",
"value": 7.6
},
{
"id": "FO",
"value": 5.6
},
{
"id": "FR",
"value": 2.6
},
{
"id": "GA",
"value": 1.3
},
{
"id": "GB",
"value": 8.1
},
{
"id": "GE",
"value": 5.1
},
{
"id": "GH",
"value": 2.1
},
{
"id": "GL",
"value": 5.9
},
{
"id": "GM",
"value": 4.9
},
{
"id": "GN",
"value": 3.9
},
{
"id": "GQ",
"value": 0.9
},
{
"id": "GR",
"value": 7.7
},
{
"id": "GS",
"value": 6.7
},
{
"id": "GT",
"value": 5.7
},
{
"id": "GU",
"value": 4.7
},
{
"id": "GW",
"value": 2.7
},
{
"id": "GY",
"value": 0.7
},
{
"id": "HN",
"value": 1.2
},
{
"id": "HR",
"value": 5
},
{
"id": "HT",
"value": 3
},
{
"id": "HU",
"value": 2
},
{
"id": "ID",
"value": 0.7
},
{
"id": "IE",
"value": 7.5
},
{
"id": "IL",
"value": 8.3
},
{
"id": "IN",
"value": 9.6
},
{
"id": "IO",
"value": 5.3
},
{
"id": "IQ",
"value": 3.3
},
{
"id": "IR",
"value": 9.5
},
{
"id": "IS",
"value": 1.3
},
{
"id": "IT",
"value": 8.1
},
{
"id": "JM",
"value": 4.6
},
{
"id": "JO",
"value": 2.6
},
{
"id": "JP",
"value": 1.6
},
{
"id": "KE",
"value": 2.1
},
{
"id": "KG",
"value": 7.9
},
{
"id": "KH",
"value": 6.9
},
{
"id": "KI",
"value": 5.9
},
{
"id": "KM",
"value": 1.9
},
{
"id": "KP",
"value": 6.7
},
{
"id": "KR",
"value": 4.7
},
{
"id": "KW",
"value": 7.5
},
{
"id": "KZ",
"value": 9.4
},
{
"id": "LA",
"value": 3.4
},
{
"id": "LB",
"value": 2.4
},
{
"id": "LK",
"value": 1.2
},
{
"id": "LR",
"value": 2
},
{
"id": "LS",
"value": 1
},
{
"id": "LT",
"value": 7.8
},
{
"id": "LU",
"value": 6.8
},
{
"id": "LV",
"value": 5.8
},
{
"id": "LY",
"value": 9.3
},
{
"id": "MA",
"value": 0.7
},
{
"id": "MD",
"value": 5.5
},
{
"id": "ME",
"value": 4.5
},
{
"id": "MG",
"value": 2.5
},
{
"id": "MH",
"value": 1.5
},
{
"id": "MK",
"value": 6.3
},
{
"id": "ML",
"value": 5.3
},
{
"id": "MM",
"value": 4.3
},
{
"id": "MN",
"value": 3.3
},
{
"id": "MP",
"value": 1.3
},
{
"id": "MR",
"value": 7.1
},
{
"id": "MT",
"value": 5.1
},
{
"id": "MU",
"value": 4.1
},
{
"id": "MV",
"value": 3.1
},
{
"id": "MW",
"value": 2.1
},
{
"id": "MX",
"value": 9.2
},
{
"id": "MY",
"value": 7.9
},
{
"id": "MZ",
"value": 6.9
},
{
"id": "NA",
"value": 5.8
},
{
"id": "NC",
"value": 3.8
},
{
"id": "NE",
"value": 1.8
},
{
"id": "NG",
"value": 7.6
},
{
"id": "NI",
"value": 5.6
},
{
"id": "NL",
"value": 2.6
},
{
"id": "NO",
"value": 7.4
},
{
"id": "NP",
"value": 6.4
},
{
"id": "NR",
"value": 4.4
},
{
"id": "NZ",
"value": 4.2
},
{
"id": "OM",
"value": 6.7
},
{
"id": "PA",
"value": 8.2
},
{
"id": "PE",
"value": 4.2
},
{
"id": "PF",
"value": 3.2
},
{
"id": "PG",
"value": 2.2
},
{
"id": "PH",
"value": 1.2
},
{
"id": "PK",
"value": 6
},
{
"id": "PL",
"value": 5
},
{
"id": "PM",
"value": 4
},
{
"id": "PN",
"value": 3
},
{
"id": "PR",
"value": 6.8
},
{
"id": "PS",
"value": 5.8
},
{
"id": "PT",
"value": 4.8
},
{
"id": "PW",
"value": 1.8
},
{
"id": "PY",
"value": 7.6
},
{
"id": "QA",
"value": 5.5
},
{
"id": "RO",
"value": 4.4
},
{
"id": "RS",
"value": 8.2
},
{
"id": "RU",
"value": 6.2
},
{
"id": "RW",
"value": 4.2
},
{
"id": "SA",
"value": 9.1
},
{
"id": "SB",
"value": 6.9
},
{
"id": "SD",
"value": 9
},
{
"id": "SE",
"value": 3.9
},
{
"id": "SG",
"value": 1.9
},
{
"id": "SH",
"value": 0.9
},
{
"id": "SI",
"value": 7.7
},
{
"id": "SK",
"value": 5.7
},
{
"id": "SL",
"value": 4.7
},
{
"id": "SN",
"value": 2.7
},
{
"id": "SO",
"value": 1.7
},
{
"id": "SOL",
"value": 8.1
},
{
"id": "SR",
"value": 6.5
},
{
"id": "SS",
"value": 5.5
},
{
"id": "ST",
"value": 4.5
},
{
"id": "SV",
"value": 2.5
},
{
"id": "SY",
"value": 7.3
},
{
"id": "SZ",
"value": 6.3
},
{
"id": "TC",
"value": 3.2
},
{
"id": "TD",
"value": 2.2
},
{
"id": "TF",
"value": 8
},
{
"id": "TG",
"value": 7
},
{
"id": "TH",
"value": 6
},
{
"id": "TJ",
"value": 4
},
{
"id": "TL",
"value": 2
},
{
"id": "TM",
"value": 1
},
{
"id": "TN",
"value": 7.8
},
{
"id": "TO",
"value": 6.8
},
{
"id": "TR",
"value": 3.8
},
{
"id": "TT",
"value": 1.8
},
{
"id": "TV",
"value": 7.6
},
{
"id": "TW",
"value": 6.6
},
{
"id": "TZ",
"value": 8.9
},
{
"id": "UA",
"value": 2.5
},
{
"id": "UG",
"value": 4.3
},
{
"id": "US",
"value": 7.9
},
{
"id": "UY",
"value": 1.9
},
{
"id": "UZ",
"value": 0.9
},
{
"id": "VE",
"value": 3.6
},
{
"id": "VN",
"value": 2.4
},
{
"id": "VU",
"value": 3.2
},
{
"id": "WS",
"value": 2.5
},
{
"id": "XK",
"value": 7.8
},
{
"id": "YE",
"value": 3.3
},
{
"id": "ZA",
"value": 4.6
},
{
"id": "ZM",
"value": 8.2
},
{
"id": "ZW",
"value": 6
},
{
"id": "AD",
"value": 6.7
},
{
"id": "AG",
"value": 3.7
},
{
"id": "AI",
"value": 1.7
},
{
"id": "AS",
"value": 7.3
},
{
"id": "AW",
"value": 3.3
},
{
"id": "AX",
"value": 2.3
},
{
"id": "BL",
"value": 3.8
},
{
"id": "CV",
"value": 6.7
},
{
"id": "CW",
"value": 5.7
},
{
"id": "DM",
"value": 5.2
},
{
"id": "GD",
"value": 6.1
},
{
"id": "GG",
"value": 3.1
},
{
"id": "GI",
"value": 1.1
},
{
"id": "HK",
"value": 4.2
},
{
"id": "HM",
"value": 2.2
},
{
"id": "IM",
"value": 7.3
},
{
"id": "JE",
"value": 4.8
},
{
"id": "KN",
"value": 0.9
},
{
"id": "KY",
"value": 5.5
},
{
"id": "LC",
"value": 1.4
},
{
"id": "LI",
"value": 3.2
},
{
"id": "MC",
"value": 6.5
},
{
"id": "MF",
"value": 3.5
},
{
"id": "MO",
"value": 2.3
},
{
"id": "MS",
"value": 6.1
},
{
"id": "NF",
"value": 0.8
},
{
"id": "NU",
"value": 1.4
},
{
"id": "SC",
"value": 5.9
},
{
"id": "SM",
"value": 3.7
},
{
"id": "SX",
"value": 8.3
},
{
"id": "UM",
"value": 6.1
},
{
"id": "VA",
"value": 7.6
},
{
"id": "VC",
"value": 5.6
},
{
"id": "VG",
"value": 1.6
},
{
"id": "VI",
"value": 7.4
},
{
"id": "WF",
"value": 7.7
}
]
},
"options": {
"title": "Inflation pressure remains uneven across the world",
"subtitle": {
"measure": "Annual consumer-price inflation",
"period": "2026"
},
"format": "1.1%",
"scale": {
"kind": "diverging",
"midpoint": 3,
"polarity": "lowerIsBetter"
},
"labelDensity": "full",
"source": "Illustrative values"
}
}Minimal spec
Save this spec as choropleth.json and run the command.
{
"type": "choropleth",
"data": {
"pack": "eu27",
"regions": [{ "id": "DE", "value": 2.3 }, { "id": "FR", "value": 1.6 }, { "id": "IT", "value": 1.1 }]
},
"options": {
"title": "Germany has the highest inflation rate among the three supplied countries",
"unit": "%",
"classes": 3,
"source": "Illustrative data"
}
}npx boardplot render choropleth.json --out choropleth.svg