← Swedenchartlink · choropleth
Sweden by: counties · municipalities (kommuner)
Map of Sweden by county, one number per county
Also: Sweden map by county · karta över Sveriges län · Sverigekarta län · Swedish län choropleth · map of Sweden's 21 counties

Example: Population of Sweden's 21 counties, 2025 — Population on 1 January 2025 by län. Stockholm, Västra Götaland and Skåne hold more than half of Sweden's people; Gotland and Jämtland the fewest.
About this template
Data: one row per county with its ISO 3166-2 code (SE-AB for Stockholm, SE-O for Västra Götaland) or its name, and a number. A county with no row stays grey. Same design as the other country maps, so they sit side by side.
A choropleth map of the states, provinces or regions of Sweden (ISO 3166-2 codes), each region filled by one number from your data (the "population" column).
A sequential colour scale from pale blue for the smallest values to deep navy blue for the largest; pinned to 50000 to 2500000, so values beyond the ends take the end colour and the colour bar says ≤ and ≥; a gradient colour bar below the map, with its labels underneath; values formatted in compact form (1.2k, 3.4M), 1 decimal; on a white canvas (#ffffff) with near-black text — a light theme; 0.6-unit hairline outlines between regions.
The title and description are left-aligned above the chart. Font: Inter (the default); a source line with a link sits at the bottom, with the chartlink badge in the corner.
Data: 2 columns — county (string, "County (ISO 3166-2 code or name)"), population (number, "Population, 1 January 2025") — and 21 rows in the example "Population of Sweden's 21 counties, 2025". Regions are named by ISO 3166-2 region codes or region names; a region with no row stays unfilled in grey, and an unknown code fails loudly with the nearest matches. Your data keeps the same column ids and every other setting comes from the template; an agent can change any of them.
Other looks of this template — dark (on a dark canvas): ast_ZQSXkwQ5MlKyI1gcMHkpz; buckets (with the values in classes and a swatch legend): ast_KCWOGhYni22FQO4ncI6wQ; editorial (in the editorial house style — serif type on paper, a green ramp): ast_twcfkqTNJpOiZKj4PrjJC; categories (with a text category per region and a swatch legend): ast_Pnfr0Cv3fh51Ve5GC56Vm; buckets-dark (with the values in classes and a swatch legend, on a dark canvas): ast_VUbR3sxQUJBiHVRwQWMdK; surroundings (with the land around the place drawn in grey): ast_rYrBIOqiVlJknPu2pHvTc; categories-dark (with a text category per region and a swatch legend, on a dark canvas): ast_KQfUkRaDSyIIMX8KI1IG0; buckets-editorial (with the values in classes and a swatch legend, in the editorial house style — serif type on paper, a green ramp): ast_v1KJI9JDadCx60PrtbVeF; dark-surroundings (on a dark canvas, with the land around the place drawn in grey): ast_s8mMCJ9MWRugomRARiFHa; buckets-surroundings (with the values in classes and a swatch legend, with the land around the place drawn in grey): ast_uqInbXrKcLaO9c3htl8eZ; categories-editorial (with a text category per region and a swatch legend, in the editorial house style — serif type on paper, a green ramp): ast_Ux67Oa42Vx18IcfydrU2X; editorial-surroundings (in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_yBRDDVhOTViVynQ9QHNLp; categories-surroundings (with a text category per region and a swatch legend, with the land around the place drawn in grey): ast_nRZrvsJ9Ljh8URzr9069x; buckets-dark-surroundings (with the values in classes and a swatch legend, on a dark canvas, with the land around the place drawn in grey): ast_EEh3ASucz2jsP67gs4XoS; categories-dark-surroundings (with a text category per region and a swatch legend, on a dark canvas, with the land around the place drawn in grey): ast_sDuUR2xmAPCmzDtzCjNhK; buckets-editorial-surroundings (with the values in classes and a swatch legend, in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_kuChptcKyA1LfLzxUe8RL; categories-editorial-surroundings (with a text category per region and a swatch legend, in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_DSMNz16Ayixs0oSXJsnMR. On the page, switch with the toggles; an agent passes that id as the template instead.
Use it with your agent
Copy the prompt, paste it into Claude, ChatGPT, Cursor or any agent with the chartlink MCP server or API, and give it your numbers. It rebuilds this exact design with your data and hands back an embed, a PNG and a page.
The prompt in full
Data this template expects
| column id | type | in the example |
|---|---|---|
| county | string | County (ISO 3166-2 code or name) |
| population | number | Population, 1 January 2025 |
21 rows in the example. Your data keeps these column ids; everything else about the chart comes from the template.
For agents: the API call
POST https://chartlink.app/api/assets
{
"template": "ast_ES99J63CfEVqJpcOZuNeE",
"knobs": {
"theme": "light",
"dataType": "gradient",
"title": {
"text": "Your title"
},
"source": {
"text": "Where the numbers come from"
}
},
"data": {
"columns": [
{
"id": "county",
"type": "string"
},
{
"id": "population",
"type": "number"
}
],
"rows": [
[
"…"
]
]
},
"publish": true
}The recipe (the template's settings)
{
"chart": {
"domain": [
50000,
2500000
],
"format": {
"kind": "number",
"compact": true,
"decimals": 1
},
"outline": {
"width": 0.6
},
"geography": "se-regions"
},
"title": {
"text": "Population of Sweden's 21 counties, 2025"
},
"preset": "map-light",
"source": {
"url": "https://ec.europa.eu/eurostat/databrowser/view/demo_r_pjanaggr3/default/table",
"text": "Eurostat, population on 1 January by NUTS region (demo_r_pjanaggr3), 2025"
},
"encoding": {
"value": {
"column": "population"
},
"region": {
"column": "county"
}
},
"description": {
"text": "Population on 1 January 2025 by län. Stockholm, Västra Götaland and Skåne hold more than half of Sweden's people; Gotland and Jämtland the fewest."
}
}map · choropleth · sweden · counties · country-regions
Similar templates
- Map of Sweden by municipality, one number per municipality
- Map of Canada by census division, one number per census division
- Map of Lithuania by county, one number per county
- Map of Croatia by county, one number per county
- Map of Romania by county, one number per county
- Map of Hungary by county, one number per county
- Map of Norway by county, one number per county
- Map of Norway by county, one number per county
- All templates →