← Berlinchartlink · choropleth
Berlin by: districts (Bezirke) · planning areas (Planungsräume)
Map of Berlin by district, one number per district
Also: Berlin map by district · Berlin Bezirke Karte · map of Berlin's 12 boroughs · Berlin districts choropleth · Karte Berlin nach Bezirken

Example: Population of Berlin's districts, 2024 — Residents registered at their main home on 31 December 2024 by Bezirk. Pankow, Mitte and Charlottenburg-Wilmersdorf lead; Spandau and Treptow-Köpenick are the smallest.
About this template
Data: one row per district with its code (001 for Mitte, 003 for Pankow) or its name, and a number. A district with no row stays grey. Codes are the district keys 001–012 (Mitte 001, Friedrichshain-Kreuzberg 002, Pankow 003, Charlottenburg-Wilmersdorf 004, Spandau 005, Steglitz-Zehlendorf 006, Tempelhof-Schöneberg 007, Neukölln 008, Treptow-Köpenick 009, Marzahn-Hellersdorf 010, Lichtenberg 011, Reinickendorf 012). Same design as the other city maps, so they sit together.
A choropleth map of the regions of the "berlin-districts" 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 250000 to 450000, 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 — district (string, "District (code or name)"), population (number, "Population, 31 December 2024") — and 12 rows in the example "Population of Berlin's districts, 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_nvk0UZ9Ijj6D4DBfaidNG; buckets (with the values in classes and a swatch legend): ast_qSUlzyayjA5iYfi8man24; editorial (in the editorial house style — serif type on paper, a green ramp): ast_8lVnkanjJgoiTh2348uQw; categories (with a text category per region and a swatch legend): ast_x0WxyXXpuP1goagHeO5HV; buckets-dark (with the values in classes and a swatch legend, on a dark canvas): ast_92pK0upNnSAwDkDrEYO3C; surroundings (with the land around the place drawn in grey): ast_7NwIyDCp0JsAedjWwHc38; categories-dark (with a text category per region and a swatch legend, on a dark canvas): ast_hDkcAZmxOkTZJ3sx24z0n; buckets-editorial (with the values in classes and a swatch legend, in the editorial house style — serif type on paper, a green ramp): ast_mpKrOb1JG6bsHju9FeqdS; dark-surroundings (on a dark canvas, with the land around the place drawn in grey): ast_QXYxamFj0oeb5eea1UcyH; buckets-surroundings (with the values in classes and a swatch legend, with the land around the place drawn in grey): ast_Q6JuYHZ3DPLKfk7p0Ernj; 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_xsGT18D2QjdkYF1c9DuhR; editorial-surroundings (in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_nqJudK2dkvzdoy7TULAkQ; categories-surroundings (with a text category per region and a swatch legend, with the land around the place drawn in grey): ast_XoJiDIqBbszG4RYIICrQm; 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_DWxaQ1trbENPa7Ivcfev7; 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_EWahvorf5dMAdn9rwwrBk; 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_nRgbF1arYSoqNkpdZj2gf; 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_gT8m8m1F7knHFXGCAj2pN. 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 |
|---|---|---|
| district | string | District (code or name) |
| population | number | Population, 31 December 2024 |
12 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_QfHPUEW7bwDNDkUxauEle",
"knobs": {
"theme": "light",
"dataType": "gradient",
"title": {
"text": "Your title"
},
"source": {
"text": "Where the numbers come from"
}
},
"data": {
"columns": [
{
"id": "district",
"type": "string"
},
{
"id": "population",
"type": "number"
}
],
"rows": [
[
"…"
]
]
},
"publish": true
}The recipe (the template's settings)
{
"chart": {
"domain": [
250000,
450000
],
"format": {
"kind": "number",
"compact": true,
"decimals": 1
},
"outline": {
"width": 0.6
},
"geography": "berlin-districts"
},
"title": {
"text": "Population of Berlin's districts, 2024"
},
"preset": "map-light",
"source": {
"url": "https://www.statistik-berlin-brandenburg.de/a-i-5-hj",
"text": "Amt für Statistik Berlin-Brandenburg, Einwohnerregisterstatistik, 31 December 2024"
},
"encoding": {
"value": {
"column": "population"
},
"region": {
"column": "district"
}
},
"description": {
"text": "Residents registered at their main home on 31 December 2024 by Bezirk. Pankow, Mitte and Charlottenburg-Wilmersdorf lead; Spandau and Treptow-Köpenick are the smallest."
}
}map · choropleth · berlin · districts · city · city-districts
Similar templates
- Map of Berlin by planning area, one number per planning area
- Map of Madrid by district, one number per district
- Map of London by ward, one number per ward
- Map of Paris by IRIS block, one number per IRIS block
- Map of Madrid by barrio, one number per barrio
- Map of New York City by ZIP code, one number per ZIP code
- Map of Tokyo by ward, one number per ward
- Map of Paris by arrondissement, one number per arrondissement
- All templates →