Population

Estimated population of England by region, mid-2021.
QGIS
Published

April 30, 2022

Estimated population of England by Region, mid-2021

For this map I followed a Dynamic infographic map tutorial.

Estimated population of England by Region, mid-2021.

Estimated population of England by Region, mid-2021.

Data

Tools I used

  • QGIS

What did I learn?

  • Using population data to show how to set colours in map and charts using variables.
  • Worked out how to find a colour palette which should be “safe” colours.

What do I want to change?

  • Could do with sorting out fonts and text sizes.
  • Is it possible to sort plots so regions appear in same order in each?

Process

  • Want to use Counties and Unitary Authorities within Regions. Used Join attributes by location with features they... set to are within and cross.
  • Clean up population data in spreadsheet then added using Spreadsheet plugin, but no geometry.
  • Joined population data to CUA layer with regions.
  • Refactor fields new layer to check data types OK and saved as new layer
  • In a change from the tutorial I didn’t use QuickOSM to download data as I already have population data. I just added a WMS background layer to my map.
  • Create project variables for colours - need 9? for regions in England. Plus one for dark. Project > Properties > Variables
  • Color palette
  • Style Counties and UAs within each region - using Region to categorise. Then to use variables for colours, double-click on each colour patch in turn, go to Simple fill, click on button at end of colour box and select Variable then appropriate colour variable.
  • Set stroke colour to colour_dark variable in each case.
  • Set up layout and add map.
  • Then Add plot. Use Setup Selected Plot to create bar plot.
  • Next to colour of bar click on button and go to Edit and enter the following.
map_get(
    map(
        'East Midlands',@colour_1,
    'East of England',@colour_2,
    'London',@colour_3,
    'North East',@colour_4,
    'North West',@colour_5,
    'South East',@colour_6,
    'South West',@colour_7,
    'West Midlands',@colour_8,
    'Yorkshire and The Humber',@colour_9),"RRGN21NM"
)
  • Statistics by category to generate regional population totals.
Back to top