DevTools Logo

World Map

About this tool

The World Map is a drill-down atlas: start at the whole globe, click a country to open its states or provinces, then click one of those for its districts — all rendered as real vector boundaries with d3-geo and SVG, not map tiles. The boundaries are same-origin static files, so the tool needs no map API key, account, tile provider, or geocoding request; choropleth values stay in your browser.

Depth varies honestly by what open data actually covers. The current snapshot has top-level provinces/states (ADM1) for 236 countries and territories, and 51 curated countries go one level further to districts (ADM2) — Turkey's 81 provinces and their ilçe, for example. Natural Earth's roughly 7,333 populated-place points appear with population and capital status and are scoped to the focused boundary. They are a useful mapped sample, not a complete list of every city or village. Village- or neighborhood-level polygon boundaries are not part of a complete open global dataset, so the map does not pretend to have them.

Hovering a region highlights its border and shows its name; clicking drills in with a short animated zoom into that region's bounding box (skipped automatically if your system has reduced motion turned on). A breadcrumb trail and a Back button retrace your steps, browser Back/Forward works the same way through a `?r=` URL parameter, and a search box jumps straight to any country or region by name without clicking through the hierarchy.

Beyond navigation, it's a small GIS utility: upload or drop a .csv, .tsv, .txt or .json file up to 1 MB, or paste data, to color visible regions — read locally, never sent to a server. Choose from four sequential palettes, two diverging ones and the Okabe–Ito categorical set (all reversible), and classify values as Continuous, Quantile, Equal interval or Natural breaks (Jenks) with 3–9 classes, or type your own breaks. Text like EU or NATO gets one color per category; a column is numeric when ≥80% of non-empty values are numbers. A titled legend is drawn on the map, so PNG/SVG exports and the copied image include it. Copy share link puts data and settings into the URL when they fit (about 2 KB encoded); opening a link won't replace your saved data until you edit it.

How to use this tool

  1. Open the map

    The tool loads straight into the world view — every country is already on screen and clickable.

  2. Hover to identify

    Move over any country to see its border highlighted and its name in a tooltip.

  3. Click to drill in

    Click a country for its provinces/states, then a province for its districts; click a leaf district to fit its boundary and see only its mapped settlements.

  4. Search or step back

    Jump straight to a place with the search box, or retrace your steps with the breadcrumb or the Back button.

  5. Color and export

    Upload, drop, or paste CSV/TSV/JSON data into the choropleth panel to color the map, pick a palette and a classification method, then export SVG or PNG (or copy the PNG) — the legend is drawn on the map, so it's included in the export.

Use cases

Teaching geography live

Drill from continent to country to district in front of a class without switching tools or waiting on tile servers.

Visualizing regional data

Paste a population, sales, or survey-results CSV keyed by country or region code and get an instant colored map with a legend.

Grabbing a quick region boundary

Copy the GeoJSON for a single country, province, or district instead of hunting through a full shapefile download for one shape.

Producing a map graphic

Export a clean SVG or PNG of any region at any zoom level for a slide, blog post, or report — no watermark, no attribution to strip out first.

Sharing a styled data map

Copy a share link to the colored map and export a PNG or SVG with the on-map legend, so someone else sees the same colors and scale you do.

Common mistakes

Mistake:Expecting district-level detail everywhere

Fix:Only about 51 curated countries have district (ADM2) boundaries; the rest stop at state/province, with settlement points shown below that as a reference, not a boundary.

Mistake:Pasting choropleth codes that don't match anything on screen

Fix:Use ISO alpha-3 codes (TUR, DEU, FRA…) or the exact name shown on the map — the panel lists exactly which rows matched, which didn't, and which lines were unreadable.

Mistake:Reading settlement dots as administrative areas

Fix:Points at the deepest level mark named places only (with population and capital status) — no polygon exists for them in the source data, so they're drawn and labeled differently from the region shapes above.

Mistake:Assuming the map calls out to a tile or geocoding service

Fix:Every boundary is a static file served from the same origin as the page; nothing you paste into the choropleth panel is ever sent anywhere.

Mistake:Using Equal interval on very skewed data like population, where one class holds almost everything

Fix:Use Quantile (equal-count classes) or Natural breaks (Jenks) instead, which spread skewed values more evenly.

Mistake:Expecting a share link for a large dataset

Fix:Large data is not put in the URL; it stays saved in your browser. Export an image or share the CSV instead.

Frequently asked questions

How deep can I drill into a country?

The current snapshot has state/province (ADM1) boundaries for 236 countries and territories. About 51 larger or well-mapped countries — including Turkey, the US, Germany, France, and most of the EU — go one level further to districts (ADM2), such as Turkey's 81 provinces and their ilçe. A few very small or disputed areas have only their country outline. At every focused level, available settlement points are scoped to the selected boundary.

Why don't I see village or neighborhood boundaries?

Village- and neighborhood-level (köy/mahalle) polygon boundaries are not part of any complete, open, redistributable global dataset — geoBoundaries' gbOpen release stops at ADM2 for most countries and ADM3/ADM4 for only a handful. Rather than fake a boundary that doesn't exist in the source data, the map shows the roughly 7,333 named points available in Natural Earth's populated-places dataset. These are mapped settlements, not a complete list of every city or village.

What is the choropleth panel and how do I use it?

Paste or upload/drop a .csv, .tsv, .txt or .json file up to 1 MB; it's read in your browser. With or without a header, the tool guesses the region and value columns (you pick if over two columns). Numbers accept thousands separators, decimal commas, trailing %, and spaces or underscores. Pick sequential, diverging, or Okabe–Ito categorical palettes (reversible; diverging centers on zero or the median), classification — Continuous, Quantile, Equal interval, Jenks, or custom 3–9 breaks — and one color per text category. Samples cover population, continent, and mapped subdivisions.

Which classification method should I choose?

Continuous gives a smooth gradient and is the default. Use Quantile for equal-sized groups, Equal interval when the numeric ranges themselves matter, Natural breaks (Jenks) for data with clear clusters, and Custom for fixed thresholds such as policy bands.

Can I color regions by category instead of numbers?

Yes. Text values such as EU or NATO are treated as categories and get one color each; a column counts as numeric when at least 80% of its non-empty values are numbers. The Okabe–Ito categorical palette is designed to stay distinguishable for common color-vision deficiencies.

Is my data uploaded anywhere?

No. Files are read in your browser and nothing is sent to a server; your data and settings are saved in localStorage and restored on your next visit. Copy share link puts the data itself into the URL when it fits (about 2 KB encoded), so anyone with that link can see it.

Why doesn't the share link work for my data?

Share links only carry data and settings when they fit in the URL (about 2 KB encoded). Larger datasets are not put into a link; they stay saved in your browser. For those, export a PNG/SVG image or share the CSV instead. Opening a link also won't overwrite your saved data until you edit it.

Some of my choropleth rows didn't match — why?

Matching is case-insensitive against each visible region's id, ISO code, and name, but it can't guess intent — a misspelled name, a two-letter code where three letters are expected, or a code for a region that isn't currently on screen (e.g. a district code pasted while viewing the world view) won't match. The panel lists exactly how many rows matched, how many didn't, and which lines couldn't be parsed at all, so you can fix the data rather than guess.

How do I export the map?

The Export image menu above the map offers a PNG download, an SVG download, and a "copy PNG to clipboard" option — all captured from exactly what's rendered on screen, at 2x resolution for PNG. Separately, the panel beside the map offers GeoJSON: copy it or download it for whichever region is selected, or for the whole current layer if nothing is selected.

If I click into a district, can I get back to where I was?

Yes — the breadcrumb trail above the map shows every level from World down to your current region and jumps back to any of them on click, the Back button steps up exactly one level, and the browser's own Back/Forward buttons work the same way because the current region is kept in the page's URL.

Can I jump straight to a place instead of clicking through continents?

Yes — the search box above the map matches both countries and any region inside the currently loaded search index by name, so typing part of a country, state, or province name and selecting it jumps directly there without drilling down manually.

Where does the boundary data come from, and is my pasted data uploaded?

World and province-level boundaries and settlement points come from Natural Earth (public domain); deeper boundaries come from geoBoundaries' gbOpen release, with the actual country-specific upstream licenses recorded in the tool's attribution. Every boundary file is fetched as a static asset from the same origin as the page itself. Choropleth values are parsed and rendered locally in your browser and are not uploaded to a map or geocoding service.

References & standards