CensusMapper Documentation

Map editor

You can make your own CensusMapper maps, either from scratch or by copying an existing map. You need a free account to save a map.

Starting a map

  • New map: choose Create at the top of the page and pick a census year. You can’t change the year later, so to map another year, start a new map or copy this one.
  • Copy a map: open any map and choose ⋮ > Clone map in the sidebar. This is often the quickest start: find a map close to what you want and change it.
  • Edit your map: open it and choose ⋮ > Edit map, or go to My Maps in your profile.

If you start a map without being logged in, CensusMapper asks you to log in when you save, and brings your work back afterwards.

The first time you open the editor, a short tour shows you around. You can start it again from Tutorial > Start Tutorial.

Choosing the data

The Data tab defines what the map shows.

Map type

Map type Shows
Choropleth One value per region, such as a share or a median
Multi-Choropleth Several related values, with buttons to switch between them
Category Which of several categories is largest in each region
Tricolore A mix of three shares, such as three age groups, as a blend of three colours
Bivariate Two values at once, on a two-way colour grid

Census variables

The variable tree lists every census variable for the year, grouped by topic. Use Search variables… to find one, then click + to add it to your formula. Some variables come in versions for the total, men and women; + then lets you choose.

Each census variable has a code, such as v_CA21_1 for the 2021 population. In the formula, known codes are shown in blue and unknown ones in red. Put the cursor on a code to see what it is.

The formula

The Function String is the formula that calculates the map’s value for each region from census variables. For example, the share of households that rent is the number of renter households divided by all households:

v_CA21_4239 / v_CA21_4237

Formulas can use arithmetic, conditions and special functions for census data, such as diversity indices, Gini coefficients and medians from grouped data. The function string reference lists them all with examples.

When you change the formula, click Update Map to see the result.

Custom Variables give a name to part of a formula, which keeps long formulas readable. Tick Show in tooltip to show a variable’s value when someone clicks a region.

Data Format sets how values are shown: as a number, a percentage, a dollar amount and so on.

Data sources lets you use variables from more than one dataset in the same map.

Colours

The Style tab sets the colours and the cut-offs between them. Pick a palette or make your own, choose how many colour steps to use, and set where the steps fall: evenly spaced, with equal numbers of regions in each step, or at values you type in.

Choose cut-offs that suit the whole country, not just the area on your screen. Readers can rebalance the colours for their own view.

Description

The Description tab is where you explain your map: what it shows, how the value is calculated, and what’s interesting about it. Maps with a good description get read and shared more.

The toolbar has headings, bold and italic text and lists. You can also:

  • insert a link that takes readers to the current map location, and
  • add charts, such as a histogram, a scatter plot or a bar graph, that show the regions currently on the map and highlight them as readers hover.

Saving

Click Save. CensusMapper checks the map first. A missing title or a formula error has to be fixed before saving. Suggestions, such as adding a description or a default location, can be skipped with Save anyway.

Use the location buttons next to the census year to set the map’s default location: the place it opens on when someone follows a link without a location.

To make a variant of a map you’ve saved, choose ⋮ > Save as Copy.

Who can see your map

The badge next to the title sets the map’s visibility:

Visibility Who sees it
Private Only you
Shared Anyone with its secret link
Public Anyone with its link
Published Anyone; it’s listed under All Maps and found by search

New maps start private. If a shared link has been passed on further than you’d like, use the regenerate button next to it; the old link then stops working.

Managing your maps

My Maps in your profile lists all your maps with their visibility. From there you can open, edit and delete them, and copy share links. You can also delete a map in the editor, under ⋮ > Danger Zone.

AI assistants can draft maps for you; see MCP server. Those maps start private, and you publish them here.