Space

Maps
Geocoding
Choropleth maps
Geolocator maps
Cartograms
Published

July 24, 2024

Modified

April 24, 2026

Abstract
Maps, Cartograms, and Choropleths
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
βœ” dplyr     1.2.1     βœ” readr     2.2.0
βœ” forcats   1.0.1     βœ” stringr   1.6.0
βœ” ggplot2   4.0.3     βœ” tibble    3.3.1
βœ” lubridate 1.9.5     βœ” tidyr     1.3.2
βœ” purrr     1.2.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
βœ– dplyr::filter() masks stats::filter()
βœ– dplyr::lag()    masks stats::lag()
β„Ή Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE

What graphs will we see today?

Variable #1 Variable #2 Chart Names Chart Shape
Quant Qual Choropleth and Symbols Maps, Cartograms

Inspiration

(a) Infosys in the EU
(b) Population Cartogram
Figure 1: Choropleth and Cartogram
(a) Where’s the next Houthi attack?
(b) Malacca
Figure 2: Symbol Maps

How do these Chart(s) Work?

In Figure 1 (a), we have a choropleth map. What does choropleth1 mean? And what kind of information could this map represent? The idea is to colour a specific area of the map, a district or state, based on a Quant or a Qual variable.

The Figure 1 (b) deliberately distorts and scales portions of the map in proportion to a Quant variable, in this case, population in 2018.

In Figure 2 (a) and Figure 2 (b), symbols are used to indicate either the location/presence of an item of interest, or a quantity by scaling their size in proportion to a Quant variable

Creating Maps

Dataset: UFO Sightings

Suppose we have our own data, of places we have visited. Let us cook up such a dataset manually (in Excel) without Long and Lat, and we can then Geo Code the places plot them based on some other parameter of interest.

Geocoding widget extracts latitude/longitude pairs from region names or synthesizes latitude/longitude to return region name. If the region is large, say a country, encoder with return the latitude and longitude of geometric centre.

Here is a Excel to download; you should plot this first and then edit the places and its characteristics to suit your own research.

Note that this dataset does have longitude and latitude data. We will import this into Orange and deliberately Geo Code this, just to compare.

Examine the Data

(a) UFO Data Input
(b) UFO Data Table
Figure 5: UFO Sightings Dataset

Dataset: Animal Migration Tracks

So far we have seen maps that place POINTS on a base map. Let us see if we can get tracks to show…or not, peasants.

Examine the Data

Data Dictionary

NoteQuantitative Data
NoteQualitative Data

Research Questions

NoteQuestion

What is the Story Here?

Your Turn

Wait, But Why?

References

  1. https://github.com/CityOfNewYork/nyc-planimetrics/blob/main/Capture_Rules.md
Back to top

Footnotes

  1. Etymology. From Ancient Greek Ο‡ΟŽΟΞ± (khαΉ“ra, β€œlocation”) + πλῆθος (plΓͺthos, β€œa great number”) + English map. First proposed in 1938 by American geographer John Kirtland Wright to mean β€œquantity in area,” although maps of the type have been used since the early 19th century.β†©οΈŽ