# Map an official statistic area by area

Have Mapstack fetch a published statistic for every small area in a place, map it as a rate, and set the classes and colours you need.

Video: Map an official statistic area by area (1 min 15 s): /images/docs/videos/map-an-indicator-by-area.mp4

## Best for

Anyone who has to show where a need or an opportunity is, using official figures: public health and housing teams, charities writing a funding bid, development agencies, analysts preparing a needs assessment or a briefing. You do not need the table or the boundaries to start. You end up with an indicator map (a **choropleth**: areas shaded by their value) with the source, year and definition stated, styled the way your document needs.

**The example in this guide** uses no file of your own. Mapstack fetches the figures itself: population density from the Office for National Statistics' Census 2021 (table TS006, people per square kilometre) for every ward in London, for a briefing on where demand for local services is most concentrated. The same steps work for any measure and place Mapstack holds statistics for; see [Get census and official statistics](/docs/find-data/census-and-statistics).

## What you need

- **The measure,** in your own words, and **the place.** Name the area level (ward, census tract, output area, LSOA) and the release if you need particular ones.
- **What it is for,** if you can say. It helps Mapstack choose a level and a style.
- **A Free, Creator or Creator Max seat.**

## Before you start

- **Ask for a rate, not a count.** Say "per square kilometre", "as a percentage" or "per 1,000". Counts by area mostly show where the areas are big or where more people live. A rate shows where the measure is high.
- **Know what kind of figure it is.** A census counts everyone. Many small-area statistics, such as the US American Community Survey, are sample estimates with a margin of error, and small areas can have no estimate at all. Mapstack says which kind of figures you have.

## The prompt

> We need a map of population density by ward across London, for a briefing on where demand for local services is most concentrated. Use the Census 2021 figures and show it as people per square kilometre.

## What to expect

1. **Mapstack finds the statistic and the areas**

   It finds the place, the areas inside it and the table that holds your measure, and gives you a dataset of the areas with the published figures. In the example: the 680 areas of London's 2022 ward set (679 wards, with the City of London as one area), each with its official code and its density from table TS006.

2. **It works out the rate and makes the map**

   Population density is published as a rate, people per square kilometre, so it is mapped as it is. For a measure published as counts, Mapstack divides by the right total (households with no internet access over all households, say) and maps the share. With no classes or colours named, it chooses them, and adds what a reader needs: a popup for each area, a table, a chart of the values and a search box.

3. **You check the release and the table**

   Before the map goes in a briefing, confirm what the figures are. Ask:

   > Which census and table do these figures come from, and which set of ward boundaries are they for?

   Mapstack names the release, the table and the areas. In the example: Census 2021, table TS006 Population density, for the 2022 wards. Compare the release with the publisher's own site, and state the year on the map if it matters to your readers. Census 2021 is the latest census for England and Wales; for statistics released every year, Mapstack's copy can trail the publisher, so ask.

4. **You set the classes and colours**

   Say exactly how you want the values grouped and shaded. **Quantiles** put the same number of areas in each class; **natural breaks** group similar values; **equal intervals** split the range evenly. Areas with no value belong in a class of their own, not in the lowest one.

   > Restyle the map for the briefing: 5 classes by quantile, a single-hue purple scheme from light to dark, and the source (ONS Census 2021, table TS006) in the map's About panel.

   The map changes in place. In the example each class holds 136 of the 680 areas, from below 4,614 people per square kilometre to 12,924 and above, and the dense inner ring of London stands out against the outer boroughs.

   ![Example: population density by London ward, Census 2021, five quantile classes in purple, densest in the inner boroughs.](/images/docs/map-an-indicator-by-area/density-by-ward.jpeg)

5. **You pull out the figures for the text**

   A briefing needs numbers as well as a map. Ask for the areas you want to name, with the figures behind each; the ask under **Make it your own** is the one for this example. Here the ten densest wards run from 26,449 people per square kilometre in Church Street, Westminster, down to 20,677 in Cazenove, Hackney, and four of the ten are in Westminster.

## Make it your own

> List the ten wards with the highest population density, with the borough, the ward code and the people per square kilometre for each.

## Common questions

**Is this the latest release?**

It is the newest release Mapstack's statistics hold, which can trail the publisher. Ask which release and table the figures come from, and compare with the publisher's site. For a newer release, download the table from the publisher and attach it (see [Map a spreadsheet of counties, postcodes or regions](/docs/your-data/spreadsheets)).

**Can I map a rate instead of a count?**

Yes. Ask for the measure as a share of the right total, or per area, and name it: "Show it as a percentage of all households", "Show it as people per square kilometre." Counts by area mostly show where the areas are big or where more people live.

**Which classing method should I use?**

The method changes the picture. Quantiles put the same number of areas in each class; natural breaks group similar values. Ask for both and compare, and say in your document which you used.

**How are areas with no figure shown?**

Ask for them in a class of their own: "Show areas with no figure in grey as No data." Otherwise they can look like low values.

**How do I check the figures?**

Ask where they came from: "Which release, table and areas did you use?" Then look at the highest and lowest areas and compare a few with the publisher's own tables. For survey statistics, each figure is an estimate with a margin of error.

## Related

- [Get census and official statistics](https://mapstack.io/docs/find-data/census-and-statistics.md)
- [Make a map](https://mapstack.io/docs/make/maps.md)
- [Make a map for paper, a slide or a post](https://mapstack.io/docs/make/prints.md)
- [Map a spreadsheet: addresses, coordinates or place names](https://mapstack.io/docs/your-data/spreadsheets.md)
