12 Choropleths in QGIS - Joining Data
“But the data in my organisation isn’t just sitting around in geopackage files…”
Load in a shapefile, geojson or geopkg of area boundaries (e.g. MSOA or LSOA boundaries) These can be downloaded from the ONS, the government, or other organisations.
Load in a .csv (delimited text layer) of counts using the same level of detail (e.g. if your shapefiles are for MSOA, you’ll need MSOA-level data at this point too)
This time, choose ‘No geometry’ in the geometry definition section.
- Right click on the MSOA shapefile layer in the layer tab and click ‘Properties…’
- Choose ‘Joins’ and then the plus button
- Tell QGIS the layer to join to (our csv layer) and the names of the columns that should match in our two datasets
In this example the names are identical, but they can be different! It just matters whether the contents will have matching data.
Now, when you select the layer that contains your area boundaries and head to the layer styling panel, you will be able to select the relevant value fields when creating a choropleth from this data (i.e. when you click into the ‘values’ dropdown).