A map looks like the easiest chart to read, and it's the one most likely to fail before it draws anything. A map can only show a row it can find, and finding it takes a place key: a field whose values a map recognizes.

What makes a field a place

A map recognizes a value when it can match it to a shape or a point it knows:

  • Names or codes of regions it has shapes for. Countries ("Norway", "NO", "NOR"), US states ("Alabama", "AL"), provinces with their standard codes. The map fills each region's shape.
  • Coordinates. A latitude and a longitude together. The map places a point, so any location works, even one with no shape at all.
  • Postal codes and cities, when the tool can look them up. These are less reliable: city names repeat across countries, and postal codes need the country to make sense.

A field that names places isn't always a place key. A neighborhood, a sales territory or a store's region names a place, but the map has no shape for it unless you supply one. Spelling matters too: "Untied States", "USA " with a trailing space, or a state name in another language won't match.

When a map is the right answer

A map earns its space when where is part of the question:

  • Are high values clustered in one part of the world?
  • Do neighboring regions look alike?
  • Is there a gap or an outlier in a specific area?

If the reader just needs to know which region is biggest, a sorted bar chart answers faster. A map also has a built-in bias: large regions catch the eye whatever their value. A small, populous region with the highest number can be nearly invisible on a filled map.

A worked example

Take a table of 45 countries, each with indicators like life expectancy and income per person. Country is a place key: the map can match the names to its shapes.

A world choropleth of the "Country Development Indicators (Illustrative)" dataset: 45 countries shaded by their HDI.
A world choropleth of the "Country Development Indicators (Illustrative)" dataset: 45 countries shaded by their HDI.

How to read this World Choropleth Try it in the explorer

The map shows the regional pattern in one look: where the high and low values cluster. It doesn't show which of two countries in different continents scores higher; for that, a sorted bar chart is better.

Now take a table of store results by US state. State is a place key too, but the states differ hugely in size. A filled map lets a few large western states dominate. A tile cartogram gives every state the same-sized tile, kept roughly in its place, so a small state's value counts as much as a big one's:

A US hex-tile cartogram of the "US State Store Metrics" dataset: one same-size tile per state, 51 in all, shaded by Sum of Revenue.
A US hex-tile cartogram of the "US State Store Metrics" dataset: one same-size tile per state, 51 in all, shaded by Sum of Revenue.

How to read this US hex-tile cartogram Try it in the explorer

When there's no place key

Take the place key away from the countries table and the map has nothing to stand on. Try it:

Loading the interactive...

A table of city service complaints has a Neighborhood field, but no shapes for the neighborhoods and no coordinates. A map can't draw it. That's not a problem to work around: compare the neighborhoods with bars or a heatmap instead, or add coordinates or boundary shapes at the source if the geography matters.

Try it

Pick a field you'd like to map and check three things: does a map know these names or codes, are they spelled the way it expects, and does "where" matter to the question? If any answer is no, start with a bar chart.

That's the end of this module. The next one turns these ideas around: starting from a question and choosing the chart that answers it.