Choropleth Map
A choropleth map colours each region by a value from your data, so differences between countries, provinces or districts show at a glance. It is the canvas to reach for when your data is a table of values by region, such as population, income, votes or prices.
Example
Section titled “Example”The map below is a live Geografica canvas, embedded in this page: Population density by NUTS 3 region. It colours the world regions of Europe, down to level 3, by their population density, with data from Eurostat under the CC BY 4.0 licence. Hover a region to read its value.
How It Works
Section titled “How It Works”A choropleth is a canvas layer that reads a dataset and joins each row to a world region by its code. The layer colours its regions by one value column, with a palette:
- Palette: a colour scheme from the d3 colour schemes,
many of them from ColorBrewer, or a palette of
your organization. The example uses
YlOrRd, yellow to red. - Ramp or categories: a ramp of colours suits a column of magnitudes, and distinct hues suit a column of categories.
- Classes: the example splits the values into quantiles, so each colour covers the same number of regions. This keeps a few very dense cities from washing out the rest of the map.
A layer can also carry a time column. The canvas then shows a timeline, and the map moves through the years of the data.
Charts
Section titled “Charts”A canvas can draw charts with the map, reading the same layer, so the chart and the map always show the same numbers in the same colours. The example has two:
- a bar chart of the regions ranked by value, here the 20 most densely populated level 3 regions
- a time series of the value over every year of the data
More Examples
Section titled “More Examples”Other public choropleth canvases on Geografica:
Browse every public canvas at geografica.app/canvases.
Build Your Own
Section titled “Build Your Own”Upload a table of values by region on geografica.app, open it and press Create canvas: the canvas starts as a choropleth of the dataset. Canvases covers creating, editing, publishing and embedding a canvas step by step. To work with canvases and datasets from code, see the API documentation and its OpenAPI specification. For free tools to prepare boundaries and pick colours, see Map Tools.