← New York Citychartlink · choropleth
New York City by: boroughs · ZIP codes
Map of New York City by borough, one number per borough
Also: New York City map by borough · NYC boroughs map · map of the five boroughs · New York borough choropleth · Manhattan Brooklyn Queens Bronx Staten Island map

Example: Population of New York City's boroughs, 2024 — The Census Bureau's population estimate for 1 July 2024 by borough. Brooklyn and Queens each hold well over two million people; Staten Island under half a million.
About this template
Data: one row per borough with its code (36061 for Manhattan, 36047 for Brooklyn) or its name, and a number. A borough with no row stays grey. Each borough is a county: the codes are the county FIPS codes (Bronx 36005, Brooklyn 36047 as Kings County, Manhattan 36061 as New York County, Queens 36081, Staten Island 36085 as Richmond County) and the borough or county name matches. Same design as the other city maps, so they sit together.
A choropleth map of the regions of the "nyc-boroughs" 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 400000 to 2700000, 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 — borough (string, "Borough (code or name)"), population (number, "Population, 1 July 2024") — and 5 rows in the example "Population of New York City's boroughs, 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_BWHtiiWChZY56iJaTXk81; buckets (with the values in classes and a swatch legend): ast_WXxL6J2p19jMkiy9jLYEi; editorial (in the editorial house style — serif type on paper, a green ramp): ast_ZhPsUAYw4RVKicef3wjEY; categories (with a text category per region and a swatch legend): ast_9OXOsBg0kQLx70izgeCo6; buckets-dark (with the values in classes and a swatch legend, on a dark canvas): ast_QDkrpSv1x7U83H9On6EAr; surroundings (with the land around the place drawn in grey): ast_JX0qYGACQ33HIylsbcDid; categories-dark (with a text category per region and a swatch legend, on a dark canvas): ast_bNr4gcPxvNI1G4oFChTKE; buckets-editorial (with the values in classes and a swatch legend, in the editorial house style — serif type on paper, a green ramp): ast_BEUJnzOvNwTzPZGtZ2YVs; dark-surroundings (on a dark canvas, with the land around the place drawn in grey): ast_u8svlAjUgNLCIH3ao7dPJ; buckets-surroundings (with the values in classes and a swatch legend, with the land around the place drawn in grey): ast_aG0B7AMGIj825zJTzXZ4D; 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_FmYcYJttfJ2aT93uOXc0i; editorial-surroundings (in the editorial house style — serif type on paper, a green ramp, with the land around the place drawn in grey): ast_n0zc9XNbIyBvooQcL108A; categories-surroundings (with a text category per region and a swatch legend, with the land around the place drawn in grey): ast_sv6UhGst1WVq7y2Hof2Hv; 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_yo33xFxNp82L7d8288VHX; 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_zXqeTXELk8zurPmj8WcuK; 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_OrHc9qzxaRC1NWTFOQngN; 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_bK042mLB8eIu3Cv7eFGwB. 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 |
|---|---|---|
| borough | string | Borough (code or name) |
| population | number | Population, 1 July 2024 |
5 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_kLvFcNWeFfcwffbN9HPtZ",
"knobs": {
"theme": "light",
"dataType": "gradient",
"title": {
"text": "Your title"
},
"source": {
"text": "Where the numbers come from"
}
},
"data": {
"columns": [
{
"id": "borough",
"type": "string"
},
{
"id": "population",
"type": "number"
}
],
"rows": [
[
"…"
]
]
},
"publish": true
}The recipe (the template's settings)
{
"chart": {
"domain": [
400000,
2700000
],
"format": {
"kind": "number",
"compact": true,
"decimals": 1
},
"outline": {
"width": 0.6
},
"geography": "nyc-boroughs"
},
"title": {
"text": "Population of New York City's boroughs, 2024"
},
"preset": "map-light",
"source": {
"url": "https://www.census.gov/data/tables/time-series/demo/popest/2020s-counties-total.html",
"text": "US Census Bureau, Vintage 2024 county population estimates"
},
"encoding": {
"value": {
"column": "population"
},
"region": {
"column": "borough"
}
},
"description": {
"text": "The Census Bureau's population estimate for 1 July 2024 by borough. Brooklyn and Queens each hold well over two million people; Staten Island under half a million."
}
}map · choropleth · new-york-city · boroughs · city · city-districts
Similar templates
- Map of New York City by ZIP code, one number per ZIP code
- Map of London by borough, one number per borough
- Map of London by ward, one number per ward
- Map of Berlin by planning area, one number per planning area
- Map of Paris by IRIS block, one number per IRIS block
- Map of Madrid by barrio, one number per barrio
- Map of Madrid by district, one number per district
- Map of Tokyo by ward, one number per ward
- All templates →