Geo Data Visualizer
Map CSV coordinates or GeoJSON as points, proportional circles, hex-bin heatmaps or choropleths.
How it works
Upload a CSV/XLSX with latitude/longitude (plus optional value and label) or a country-code column, or a GeoJSON file with points, lines and polygons. Get an SVG map over bundled Natural Earth country outlines in the Equal Earth, Mercator or equirectangular projection – as points, proportional symbols, a hexagonal-bin heatmap or a choropleth – zoomed to your data, with SVG/PNG downloads.
- Input detection: text starting with "{" is read as GeoJSON (FeatureCollection, Feature or bare geometry; Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection). Anything else is a table (CSV/TSV/XLSX); lat/lon and country columns are found by name unless you name them.
- Coordinates must be WGS 84 decimal degrees (longitude −180…180, latitude −90…90); rows outside the range or without numbers are skipped and counted.
- Projections: equirectangular x = λ, y = φ; Mercator y = ln tan(π/4 + φ/2) (clipped at ±85°); Equal Earth (Šavrič, Patterson & Jenny 2018), an equal-area projection suitable for world maps and for comparing densities.
- Auto zoom fits the bounding box of the data plus 20 % margin (at least 4° × 3°); views wider than 300° of longitude show the whole world.
- Hex-bin heatmap: points are projected, assigned to pointy-top hexagons of the chosen pixel size (cube-coordinate rounding) and coloured by count, or by the sum of the value column, on a colour-blind-safe viridis-like ramp.
- Proportional circles: circle area is proportional to |value| (radius ∝ √value, largest 26 px); larger circles are drawn first so small ones stay visible. Choropleth: country codes/names are matched to the bundled outlines and shaded in up to five quantile classes; unmatched entries are listed.
- Country outlines are Natural Earth 1:110m (public domain): small countries and islands such as Singapore, Malta or Andorra are not part of this scale and cannot be shaded. Borders follow Natural Earth’s de facto conventions and are not a statement on disputed territories.
Sources
- Natural Earth 1:110m Cultural Vectors – Admin 0 Countries (Natural Earth (public domain))
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
RavingDesk Paper trading & data workspace
Practise trading on paper and chart your data: orders, risk, datasets, analyses, reports.
Related tools
- CSV/Excel Chart Studio – Turn CSV, TSV or Excel data into line, bar, pie, scatter or histogram charts with SVG/PNG export.
How to use the Geo Data Visualizer
Map a CSV of coordinates or country codes, or a GeoJSON file, as points, proportional circles, a hex-bin heatmap or a choropleth with SVG/PNG export.
What it is for
A list of locations or a number per country is hard to grasp as a table. On a map you see at a glance where your customers, offices, sightings or deliveries cluster. Upload a CSV or Excel file with latitude/longitude columns or a country column, or a GeoJSON file, and choose the map type:
- Points: one dot per location, with optional labels.
- Proportional circles: circle area grows with a value such as staff or sales.
- Hex-bin heatmap: points are counted, or their values summed, in hexagons. This is good for many points.
- Choropleth: countries are shaded by value in five quantile classes.
The map uses bundled Natural Earth country outlines, so nothing is fetched from a map service. Three projections are offered: Equal Earth (equal-area), Mercator and equirectangular. It's a static map, not a zoomable web map, and the outlines are at a world scale (1:110m). Very small countries such as Singapore, Malta or Andorra can't be shaded.
Worked example
The choropleth example lists customers in 20 countries, mixing ISO-2 codes (US, DE, FR …), English names (Norway, Czechia) and an ISO-3 code (PRT).
Result: "Choropleth of customers for 20 countries (equal-earth projection)." All 20 entries were matched (countriesMatched 20, unmatched: none). The values were split into five quantile classes of four countries each:
| Class | Customers |
|---|---|
| 1 | 12–33 |
| 2 | 33–65 |
| 3 | 65–95 |
| 4 | 95–180 |
| 5 | 180–420 |
The US (420) sits in the top class alongside DE, GB and FR, while Kenya (12) is in the lowest. With automatic extent, the view spans all longitudes from 56° S to 90° N.
The proportional-circle example places 15 offices (Tokyo 42 staff, New York 55, London 47 …) on a world map. Circle area, not radius, is proportional to staff: New York has almost seven times the staff of Lagos (8), but its circle is only about 2.6 times as wide.
How to read the result
- Summary: map type, number of points/lines/areas or matched countries, projection and the visible extent.
- Unmatched lists country entries that couldn't be found. Fix the spelling or use ISO codes.
- Invalid rows counts rows with missing or out-of-range coordinates. They are skipped, never guessed.
- Classes (choropleth) give the value range per colour. Quantiles put the same number of countries in each class, so the colour shows rank, not absolute distance.
- Hexbins gives the number of occupied hexagons.
Tips and common mistakes
- Coordinates must be WGS 84 decimal degrees, latitude and longitude in separate columns. Swapped columns put Berlin (52.5, 13.4) in the Arabian Sea, so check one known point.
- Use ISO 3166 codes for choropleths. Names work, but "Czech Republic" vs "Czechia" style differences are the usual reason for unmatched rows.
- Choropleths of raw counts mostly show where many people live. Divide by population (per million) first if you want to compare countries fairly.
- Use Equal Earth for densities and world comparisons. Mercator inflates areas towards the poles (Greenland looks as big as Africa) but is familiar for city-level views.
- Hexagon size is in pixels: bigger hexagons smooth out noise, smaller ones show detail. Try 14–25.
- "Auto" extent zooms to your data plus a margin. Use "world" when the global context matters.
FAQ
Can I map addresses or postcodes?
No. The tool doesn't geocode. You need latitude/longitude columns, a country column or GeoJSON. Geocode addresses elsewhere first.
Which GeoJSON geometries work?
Point, LineString, Polygon, their Multi- variants and GeometryCollections, in a FeatureCollection, a single Feature or a bare geometry.
Why can't I see my small country?
The 1:110m outlines leave out small countries and islands. Use a point or proportional circle at its capital instead.
Are the borders official?
They follow Natural Earth's de facto conventions and are not a statement on disputed territories.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://geodatavisualizer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://geodatavisualizer.usefulweb.site/mcp· tool namegeo_data_visualizer
Example request
curl -s -X POST https://geodatavisualizer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"data":"office,lat,lon,staff\nTokyo,35.68,139.69,42\nDelhi,28.61,77.21,18\nShanghai,31.23,121.47,25\nSão Paulo,-23.55,-46.63,12\nMexico City,19.43,-99.13,9\nCairo,30.04,31.24,6\nMumbai,19.08,72.88,21\nNairobi,-1.29,36.82,7\nNew York,40.71,-74.01,55\nLagos,6.52,3.38,8\nParis,48.86,2.35,31\nLondon,51.51,-0.13,47\nBerlin,52.52,13.40,26\nToronto,43.65,-79.38,14\nSydney,-33.87,151.21,11","mode":"proportional","valueColumn":"staff","labelColumn":"office","zoom":"world","title":"Staff per office (example data)"}'