A list of locations in a spreadsheet becomes far more useful on a map: you can see clusters, gaps, outliers and coverage at a glance. This guide covers what your CSV needs, how to choose between points, clusters, heatmaps and filled maps, and how to encode your data with colour and size so the map tells the truth rather than just showing where people live.

What your CSV needs

A mappable CSV has one row per place and a way to locate each row. There are three options, from most to least precise:

  1. Latitude and longitude columns in decimal degrees, named something recognisable such as lat/lng or latitude/longitude. This is the best format.
  2. A single column with both, like "12.9716, 77.5946". Quote it so the comma does not split the field.
  3. Country names or codes. Rows are placed at each country’s centre — fine for a quick overview, but for country-level data a choropleth is better.

Street addresses need geocoding — converting text into coordinates — which requires an external service and sends the addresses to that service. Geocode once with your mapping provider of choice, save the coordinates in the CSV, and map privately from then on.

Keep a header row, one value per cell, and no blank rows. The CSV Analyzer will flag coordinate columns that contain text or impossible values.

Step by step

  1. Open CSV to Map and upload the file (CSV, Excel, JSON or GeoJSON).
  2. Check that the latitude and longitude columns were detected. The status line tells you how many rows were placed and how many were skipped.
  3. Choose a label column so hovering a point shows something meaningful.
  4. Choose Colour by and Size by (see below).
  5. For many points, switch Show as to clusters or a heatmap.
  6. Export a PNG for a report, or GeoJSON/KML to continue in other tools.

Points, clusters or heatmap?

Points show every row exactly. They work up to a few hundred locations, or thousands if they are spread out. When many points overlap, the map becomes an unreadable blob and hides how many rows are underneath.

Clusters group nearby points into a circle with a count, and split apart as you zoom in. They answer “how many, roughly where?” and keep the map responsive with tens of thousands of rows.

Heatmaps blur points into a density surface. They are good for showing hot spots — accidents, check-ins, sightings — but they lose individual locations and exaggerate areas where points happen to stack. Weight the heatmap by a value column when each row represents a different amount.

Encoding data with colour and size

  • Colour by category (store type, region, status) uses distinct hues. Keep to about eight categories; more colours cannot be told apart, so group the rest as “Other”. Make sure the important category is not the one that is hard to see.
  • Colour by number uses a light-to-dark scale of one hue. Lighter means less, darker means more. Avoid rainbow scales: they have no natural order and create false boundaries.
  • Size by number scales circle area with the value, so a circle for 400 looks twice as large as one for 200. Scaling the radius instead would make it look four times larger.

The population trap

Almost any map of raw counts — customers, crimes, sales, cases — mostly shows where people live. Big cities light up, rural areas are empty, and the map says nothing new. To reveal real differences, map a rate: customers per 1,000 residents, sales per store, incidents per kilometre of road. If you only have counts, at least compare the map with a population map before drawing conclusions.

Common problems and fixes

  • All points in one place off West Africa: missing coordinates exported as 0, 0. Filter those rows out.
  • Points mirrored across the equator or the Greenwich meridian: missing minus signs.
  • Points in the wrong continent: latitude and longitude swapped. Check the column choice in the controls.
  • Some rows missing: those rows have blank or non-numeric coordinates; the note above the map gives the count.
  • The map is slow: switch to clusters or a heatmap, or turn off labels.

When a different map is better

If each row is a region rather than a point — a country, state or district with a value — use the Choropleth Map Maker (see What Is a Choropleth Map? or How to Make a Map of India by State) to shade whole areas. If your story is global connections between places, compare 3D Globe vs Flat Map. And if your spreadsheet needs tidying first, read How to Clean Messy CSV Data.