Maps
Choropleth Map Maker — World Map from CSV Data
Turn a CSV of countries and values into a colour-coded world map, then download it as SVG or PNG.
Runs entirely in your browser — nothing you paste is uploaded or stored.
What is choropleth map maker?
A choropleth map shades each region by a value — population, GDP per person, internet use, election results — so patterns across the world can be seen at a glance. This tool makes one from a plain table: paste or drop a CSV, or copy two columns straight from a spreadsheet, with a country in one column and a number in the other. Countries can be written as names, common alternatives ("USA", "Ivory Coast", "Korea, Republic of") or ISO alpha-2, alpha-3 or numeric codes, and any row that cannot be matched is listed so nothing is silently dropped. Choose how the values are grouped into colours — quantiles, natural breaks (Fisher–Jenks), equal intervals or a continuous ramp — and pick a ColorBrewer, viridis or diverging palette, a projection and a title. The map, legend and title download together as a clean SVG for editing in Illustrator, Inkscape or Figma, or as a PNG for slides and documents. The data never leaves your browser.
When to use it
- Mapping a country-level indicator from the World Bank, OECD or UN for a report, article or slide deck.
- Visualising your own product or customer data by country, such as users, revenue or support tickets.
- Making a quick world map for a blog post without installing QGIS or learning a charting library.
- Comparing how the same data looks with different classification methods before choosing one.
- Producing an editable SVG base map that a designer can restyle.
How to use this tool
- Paste a table with a country column and a value column, drop a .csv file, or press Load example for approximate 2023 populations.
- Check the Country column and Value column choices; they are guessed from the data. Rows that could not be matched are listed below the map.
- Choose a classification and number of classes, a colour scheme and a projection. Equal-area projections such as Equal Earth are best for choropleths.
- Give the map a title and the legend a label, and decide whether to hide Antarctica.
- Hover over countries to check their values, then copy the SVG, download it, or download a PNG. Copy a share link to save the whole map, data included.
Example
Approximate 2023 populations in millions for 66 countries, in five quantile classes on Equal Earth — the built-in example.
Input
country,population_millions
China,1410
India,1429
United States,340
Indonesia,278
Pakistan,240
Nigeria,224
Brazil,216
Bangladesh,173
Russia,144
Mexico,128
Ethiopia,127
Japan,124
Philippines,117
Egypt,113
DR Congo,102
Vietnam,99
Iran,89
Turkey,85
Germany,84
Thailand,72
United Kingdom,68
Tanzania,67
France,65
South Africa,60
Italy,59
Kenya,55
Myanmar,54
Colombia,52
South Korea,52
Uganda,48
Sudan,48
Spain,48
Argentina,46
Algeria,46
Iraq,45
Afghanistan,42
Poland,41
Canada,39
Morocco,38
Saudi Arabia,37
Ukraine,37
Angola,37
Uzbekistan,35
Peru,34
Malaysia,34
Ghana,34
Mozambique,34
Yemen,34
Nepal,31
Madagascar,30
Venezuela,28
Australia,27
Cameroon,28
North Korea,26
Niger,27
Mali,23
Chile,20
Kazakhstan,20
Romania,19
Netherlands,18
Ecuador,18
Sweden,10
Norway,5
Mongolia,3
Greenland,0.06
Iceland,0.4Output
All 66 rows match a country. With five quantile classes each colour holds about 13 countries, so China and India share the darkest blue with the other large countries, Norway, Mongolia and Iceland fall in the lightest, and countries that are not in the table are drawn in grey, with a "No data" key in the legend.Population is a count, so large countries dominate the map; for a fairer picture map a rate, such as people per km².
Choosing colours
Use a sequential palette (light to dark in one hue, or viridis) for data that runs from low to high, and a diverging palette for data with a meaningful middle, such as change from last year or difference from an average. The palettes are Cynthia Brewer’s ColorBrewer schemes, designed and tested for maps, and viridis and magma, which stay readable in greyscale and for most colour-blind readers. Reverse colours flips any of them.
Counts and rates
A choropleth shades whole countries, so a big country takes up a lot of ink whatever its value. That is fine for rates and averages — percentages, amounts per person, life expectancy — but misleading for raw counts such as population or total sales, where large countries look important simply for being large. Where you can, divide counts by population or area before mapping them.
Frequently asked questions
Which country names and codes are recognised?
Each of the 177 countries in the map can be written by its common English name, a long official form ("Korea, Republic of", "Iran, Islamic Republic of") as World Bank and UN tables use, frequent alternatives such as USA, UK, Ivory Coast, Czech Republic or Türkiye, or its ISO 3166-1 alpha-2, alpha-3 or numeric code. Matching ignores case, accents and punctuation. "Congo" means the Republic of the Congo; use DR Congo or COD for the Democratic Republic.
Which classification should I use?
Quantiles put the same number of countries in each class, which suits skewed data like population or GDP. Natural breaks (Fisher–Jenks) puts the class edges at gaps in the data so similar values share a colour. Equal intervals make every class the same width, which is easy to read but lets one outlier push almost every country into the lowest class. Continuous shows a smooth ramp without classes.
Why are some countries missing?
The map uses the 1:110 million Natural Earth outlines, which include 177 countries and territories but leave out very small ones such as Singapore, Malta, Bahrain and most island nations of the Caribbean and Pacific. Rows for those are listed as not matched. Countries with no row in your data are drawn grey.
Can I edit the map afterwards?
Yes. Download SVG gives a plain vector file with one path per country, each with its name and value in a tooltip, plus the title and legend as real text, so it opens cleanly in Illustrator, Inkscape, Figma or a browser. The colours are written in directly, so the file looks the same anywhere.
Find these tools useful? A coffee helps keep them free and ad-light.
Buy me a coffee