Tile map chart
Show regions as tiles of equal size in a tile map chart, so small regions count as much as large ones, with a color scale and a mark for missing data.
- React
import { TilemapChart } from 'boardplot/react/tilemap';- Reference
- Data, options and sizing
- Use for
- A value per state · Regions without area bias · Results by US state
EU demand against plan by country
An EU tile map shows 2026 demand against plan by country, from -12% in Austria, Hungary and Slovakia to +12% in Greece and Sweden, with Spain hatched as no data.
eu27-demand-versus-plan
JSON spec
This spec includes the theme shown and the options you selected.
{
"type": "tilemap",
"data": {
"pack": "eu27",
"regions": [
{
"id": "AT",
"value": -12
},
{
"id": "BE",
"value": 2
},
{
"id": "BG",
"value": -10
},
{
"id": "CY",
"value": 4
},
{
"id": "CZ",
"value": -8
},
{
"id": "DE",
"value": 6
},
{
"id": "DK",
"value": -6
},
{
"id": "EE",
"value": 8
},
{
"id": "ES",
"value": null
},
{
"id": "FI",
"value": 10
},
{
"id": "FR",
"value": -2
},
{
"id": "GR",
"value": 12
},
{
"id": "HR",
"value": 0
},
{
"id": "HU",
"value": -12
},
{
"id": "IE",
"value": 2
},
{
"id": "IT",
"value": -10
},
{
"id": "LT",
"value": 4
},
{
"id": "LU",
"value": -8
},
{
"id": "LV",
"value": 6
},
{
"id": "MT",
"value": -6
},
{
"id": "NL",
"value": 8
},
{
"id": "PL",
"value": -4
},
{
"id": "PT",
"value": 10
},
{
"id": "RO",
"value": -2
},
{
"id": "SE",
"value": 12
},
{
"id": "SI",
"value": 0
},
{
"id": "SK",
"value": -12
}
]
},
"options": {
"title": "Demand varies around plan",
"subtitle": {
"measure": "Demand versus plan, (actual − plan) ÷ plan",
"period": "2026"
},
"source": "Illustrative planning data",
"format": "+1%",
"scale": {
"kind": "diverging",
"midpoint": 0,
"polarity": "higherIsBetter"
},
"classes": 5
}
}EU cost against plan by country
An EU tile map shows 2026 cost against plan by country, where below plan is green; Estonia and Latvia are 10% under plan and Czechia, Italy and Slovakia 10% over, with Spain as no data.
eu27-cost-versus-plan
JSON spec
This spec includes the theme shown and the options you selected.
{
"type": "tilemap",
"data": {
"pack": "eu27",
"regions": [
{
"id": "AT",
"value": 0
},
{
"id": "BE",
"value": 8
},
{
"id": "BG",
"value": -6
},
{
"id": "CY",
"value": 2
},
{
"id": "CZ",
"value": 10
},
{
"id": "DE",
"value": -4
},
{
"id": "DK",
"value": 4
},
{
"id": "EE",
"value": -10
},
{
"id": "ES",
"value": null
},
{
"id": "FI",
"value": 6
},
{
"id": "FR",
"value": -8
},
{
"id": "GR",
"value": 0
},
{
"id": "HR",
"value": 8
},
{
"id": "HU",
"value": -6
},
{
"id": "IE",
"value": 2
},
{
"id": "IT",
"value": 10
},
{
"id": "LT",
"value": -4
},
{
"id": "LU",
"value": 4
},
{
"id": "LV",
"value": -10
},
{
"id": "MT",
"value": -2
},
{
"id": "NL",
"value": 6
},
{
"id": "PL",
"value": -8
},
{
"id": "PT",
"value": 0
},
{
"id": "RO",
"value": 8
},
{
"id": "SE",
"value": -6
},
{
"id": "SI",
"value": 2
},
{
"id": "SK",
"value": 10
}
]
},
"options": {
"title": "Cost control varies around plan",
"subtitle": {
"measure": "Cost versus plan, (actual − plan) ÷ plan",
"period": "2026"
},
"source": "Illustrative planning data",
"format": "+1%",
"scale": {
"kind": "diverging",
"midpoint": 0,
"polarity": "lowerIsBetter"
},
"classes": 5
}
}Demand against plan, color-blind palette
Option shown: Color-blind safe, a blue and brown scale that color-blind readers can tell apart.
An EU tile map of 2026 demand against plan by country in a blue and brown pair that stays readable with color-vision deficiency: blue is better than plan, brown is worse, and Spain is hatched as no data.
eu27-demand-colorblind
JSON spec
This spec includes the theme shown and the options you selected.
Changed from the fixture: options.title.
{
"type": "tilemap",
"data": {
"pack": "eu27",
"regions": [
{
"id": "AT",
"value": -12
},
{
"id": "BE",
"value": 2
},
{
"id": "BG",
"value": -10
},
{
"id": "CY",
"value": 4
},
{
"id": "CZ",
"value": -8
},
{
"id": "DE",
"value": 6
},
{
"id": "DK",
"value": -6
},
{
"id": "EE",
"value": 8
},
{
"id": "ES",
"value": null
},
{
"id": "FI",
"value": 10
},
{
"id": "FR",
"value": -2
},
{
"id": "GR",
"value": 12
},
{
"id": "HR",
"value": 0
},
{
"id": "HU",
"value": -12
},
{
"id": "IE",
"value": 2
},
{
"id": "IT",
"value": -10
},
{
"id": "LT",
"value": 4
},
{
"id": "LU",
"value": -8
},
{
"id": "LV",
"value": 6
},
{
"id": "MT",
"value": -6
},
{
"id": "NL",
"value": 8
},
{
"id": "PL",
"value": -4
},
{
"id": "PT",
"value": 10
},
{
"id": "RO",
"value": -2
},
{
"id": "SE",
"value": 12
},
{
"id": "SI",
"value": 0
},
{
"id": "SK",
"value": -12
}
]
},
"options": {
"title": "Demand against plan in a color-blind-safe scale",
"subtitle": {
"measure": "Demand versus plan, (actual − plan) ÷ plan",
"period": "2026"
},
"source": "Illustrative planning data",
"format": "+1%",
"scale": {
"kind": "diverging",
"midpoint": 0,
"polarity": "higherIsBetter"
},
"classes": 5,
"colorblindSafe": true
}
}Minimal spec
Save this spec as tilemap.json and run the command.
{
"type": "tilemap",
"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 tilemap.json --out tilemap.svg