← The United Kingdomchartlink · choropleth
The United Kingdom by: nations · constituencies · local authorities · regions
Map of the United Kingdom by nation, one number per nation
Also: UK nations map · map of England, Scotland, Wales and Northern Ireland · four nations choropleth · map of Britain by country · UK country-level map

Example: Population of the four UK nations, 2024 — Resident population at mid-2024, by nation. England holds 85% of the United Kingdom's 69 million people.
About this template
Data: one row per nation with its ONS code (E92000001 England, S92000003 Scotland, W92000004 Wales, N92000002 Northern Ireland) or its name, and a number. Orkney and Shetland are drawn east of the mainland, at their own scale, so the map keeps its width. Same design as the region, local authority and constituency maps, so the four can sit side by side.
A choropleth map of the regions of the "uk-nations" geography, 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 1000000 to 60000000, 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; 1-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 — nation (string, "Nation (ONS code or name)"), population (number, "Population, mid-2024 estimate") — and 4 rows in the example "Population of the four UK nations, 2024". 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_cIy1AFcCIStxTDNcFaerO; buckets (with the values in classes and a swatch legend): ast_88bs5cBsUN0DqL3SKRHGd; editorial (in the editorial house style — serif type on paper, a green ramp): ast_xpMt1NqO5FKhCMkDw01bX; buckets-dark (with the values in classes and a swatch legend, on a dark canvas): ast_hWkZM8gED1vyRBU3sKGq8; surroundings (with the land around the place drawn in grey): ast_DNTvl7EAtmoVPy6Sg3MYB; buckets-editorial (with the values in classes and a swatch legend, in the editorial house style — serif type on paper, a green ramp): ast_uB9d6qBCrn6ohnrAdwsBS; dark-surroundings (on a dark canvas, with the land around the place drawn in grey): ast_aZRWuov355Yw2Qh3jzLSn; buckets-surroundings (with the values in classes and a swatch legend, with the land around the place drawn in grey): ast_qoqAdHmhCeA9Y0sdIz6fP; editorial-surroundings (in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_1Uz6PA2fc02zODaqnRNyv; 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_j8yaKkcqIXbaa82LRgf9Z; 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_87HEXuxit9fS576S2uSJ3. 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 |
|---|---|---|
| nation | string | Nation (ONS code or name) |
| population | number | Population, mid-2024 estimate |
4 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_GNHcoa8WDkH65ZvQL5AUd",
"knobs": {
"theme": "light",
"dataType": "gradient",
"title": {
"text": "Your title"
},
"source": {
"text": "Where the numbers come from"
}
},
"data": {
"columns": [
{
"id": "nation",
"type": "string"
},
{
"id": "population",
"type": "number"
}
],
"rows": [
[
"…"
]
]
},
"publish": true
}The recipe (the template's settings)
{
"chart": {
"domain": [
1000000,
60000000
],
"format": {
"kind": "number",
"compact": true,
"decimals": 1
},
"outline": {
"width": 1
},
"geography": "uk-nations"
},
"title": {
"text": "Population of the four UK nations, 2024"
},
"preset": "map-light",
"source": {
"url": "https://www.nomisweb.co.uk/datasets/pestsyoala",
"text": "Office for National Statistics, mid-2024 population estimates (via Nomis)"
},
"encoding": {
"value": {
"column": "population"
},
"region": {
"column": "nation"
}
},
"description": {
"text": "Resident population at mid-2024, by nation. England holds 85% of the United Kingdom's 69 million people."
}
}map · choropleth · united-kingdom · nations · uk-set
Similar templates
- Map of the United Kingdom by parliamentary constituency, one number per seat, with the nation borders
- Map of the United Kingdom by local authority, one number per council area, with the region borders
- Map of the United Kingdom by region, one number per region
- Map of Europe by NUTS 3 region, one number per region
- Map of Europe by NUTS 2 region, one number per region
- Map of Europe by NUTS 1 region, one number per region
- Map of Europe by country, one number per country
- Map of Slovakia by municipality, one number per municipality
- All templates →