+ - 0:00:00
Notes for current slide
Notes for next slide

Image credit: Andisheh Nouraee

Even beautiful maps can be misleading

How decisions about spatial data visualisation affect map legibility

Réka Solymosi

University of Manchester

28/07/2020

1 / 43
2 / 43

Image credit: Andisheh Nouraee

3 / 43

Image credit: Andisheh Nouraee

Maps: visual representation of spatial data

4 / 43

About me

Réka Solymosi

UoM Logo

SSI Logo

5 / 43

About me

Réka Solymosi

UoM Logo

SSI Logo

  • Data analysis
  • GIS
  • Visualisation
  • crime, transport, policing
  • 'new' forms of data
  • R
5 / 43

Crime Mapping

Forthcoming textbook based on our UoM Crime Mapping module:

6 / 43

Why maps?

7 / 43

Much of human activity happens 'somewhere'

8 / 43

So we see maps everywhere

???

Image credit: BBC News

9 / 43

Some are very useful!

Optimal Manchester brewery crawl (see https://www.ncalvert.uk/posts/drunkensalesman/)

10 / 43

But many are bad

???

Image credit: Flowing data

11 / 43

Obligatory XKCD

12 / 43

Image credit: XKCD

Sometimes bad maps are funny

13 / 43

Some people collect bad maps

14 / 43

Terrible(/y funny) maps

15 / 43

Key considerations

16 / 43

Key considerations

- What is the intended message?

16 / 43

Key considerations

- What is the intended message?

- How do different maps convey this message?

16 / 43

Two key fields

17 / 43

Two key fields

- cartography

17 / 43

Two key fields

- cartography

- (non-spatial) data visualisation

17 / 43

Image credit: Wikimedia commons)

Empirical understanding of how people perceive different "viz"

18 / 43

Example 1: Pie charts

19 / 43

Example 1: Pie charts

Image credit: Robert Kosara

19 / 43

Example 2: Tufte charts

20 / 43

Examples in cartography

21 / 43

Addressing a specific problem: variation in the size and shape of areas

22 / 43

Eg: USA States

23 / 43

Eg: UK Local Authorities

24 / 43

Message often obscured

25 / 43

A fix: distort polygons

26 / 43

27 / 43

How does this affect perception?

28 / 43

Our focus: EU referendum results

29 / 43

4 types of distortions

30 / 43

(a) Balanced cartogram

31 / 43

(a) Balanced cartogram

siu <- 0.02 # the smallest interpretable unit
height <- 5
bb <- sp::bbox(map)
width <- (bb[1,2] - bb[1,1]) / (bb[2,2] - bb[2,1]) * height
bbA <- (bb[1,2] - bb[1,1]) * (bb[2,2] - bb[2, 1])
mapA <- rgeos::gArea(map)
minA <- (siu * bbA) / (height * width)
map$scaleby <- rgeos::gArea(map, byid = TRUE)
map$scaleby[map$scaleby < minA] <- minA
# Use this to scale cartogram
balcarto <- cartogram::cartogram(map, "scaleby", maxSizeError = 1.1, prepare = "none")
31 / 43

32 / 43

(b) Hexogram

  • same idea as balanced carto, with minimum value being what allows each area to be represented as its own hexagon
33 / 43

(b) Hexogram

  • same idea as balanced carto, with minimum value being what allows each area to be represented as its own hexagon

  • hexagons are produced using the hexagonal binning function in R’s fMultivar package, based on the centroids of each polygon

33 / 43

(b) Hexogram

  • same idea as balanced carto, with minimum value being what allows each area to be represented as its own hexagon

  • hexagons are produced using the hexagonal binning function in R’s fMultivar package, based on the centroids of each polygon

  • our example:

# Get the function needed
script <- RCurl::getURL("https://raw.githubusercontent.com/profrichharris/Rhexogram/master/functions.R")
eval(parse(text = script))
# Number of bins guided by the -binN- function for a visual plot.
# 29 is also used by Harris in example.
harris.29 <- hexogram(LAE.sp, 29)
# Extract the hexograms
harris.29.hex.sp <- harris.29[[2]] # 2 is hexo
33 / 43

34 / 43

(c) geogrid squre grid

35 / 43

(c) geogrid squre grid

  • From Joseph Bailey

  • Calculates a grid that strives to preserve the original geography.

35 / 43

(c) geogrid squre grid

  • From Joseph Bailey

  • Calculates a grid that strives to preserve the original geography.

  • 2 steps to using this

    • 1 - Generate grid by varying the seed

    • 2 - Efficiently calculate the assignments from the original geography to the new geography

35 / 43

(c) geogrid squre grid

  • From Joseph Bailey

  • Calculates a grid that strives to preserve the original geography.

  • 2 steps to using this

    • 1 - Generate grid by varying the seed

    • 2 - Efficiently calculate the assignments from the original geography to the new geography

  • Our example:

# step 1 generate grid
LAE.reg <- calculate_grid(shape = LAE.sp, grid_type = "regular", seed = 1) #1 was our fave seed
# step 2 calculate assignments
LAE.reg <- assign_polygons(LAE.sp, LAE.reg)
35 / 43

36 / 43

(d) geogrid hexagonal grid

  • Same idea as with grids but for hexagons:
# step 1 generate grid
LAE.hex <- calculate_grid(shape = LAE.sp, grid_type = "hexagonal", seed = 1)
# step 2 calculate assignments
LAE.hex <- assign_polygons(LAE.sp, LAE.hex)
37 / 43

38 / 43

"High values (in yellow) appear to be clustered near one another, with a handful of outliers elsewhere in the country"

39 / 43

"High values (in yellow) appear to be clustered near one another, with a handful of outliers elsewhere in the country"

- 5-point Likert scale (strongly agree, slightly agree, neither agree nor disagree, slightly disagree, strongly disagree).

39 / 43

"High values (in yellow) appear to be clustered near one another, with a handful of outliers elsewhere in the country"

- 5-point Likert scale (strongly agree, slightly agree, neither agree nor disagree, slightly disagree, strongly disagree).

  • Higher agreement = better representation of statement in map
39 / 43

"High values (in yellow) appear to be clustered near one another, with a handful of outliers elsewhere in the country"

- 5-point Likert scale (strongly agree, slightly agree, neither agree nor disagree, slightly disagree, strongly disagree).

  • Higher agreement = better representation of statement in map

  • Convenience sample (internet) of 768 respondents

39 / 43

Results

40 / 43

Results (contd.)

41 / 43

Conclusions

  • New methods to visualise geographic information can convey a message more accurately than original thematic maps.

  • But choose the method with consideration to the research question and the data!

42 / 43
2 / 43

Image credit: Andisheh Nouraee

Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow