Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Creating a hex map

Creating a hex map

This presentation shows an overview of hexagonal maps for electoral purpose and explains how to create a hexagonal map using R.

Fumiaki Nishihara

July 15, 2018
Tweet

More Decks by Fumiaki Nishihara

Other Decks in Programming

Transcript

  1. What do you like? shapes Photo by Scott Webb on

    https://unsplash.com/photos/INeZJfQxMLE
  2. The 2017 UK General Election Results Proportional Hexagonal Every district

    is represented in the same size. Small districts are small in the map.
  3. Method 1) Specify coordinates of electoral districts 2) Make a

    new geom_ func 3) Visualize with ggplot2 After the presentation, I found that creating a hexagonal map as an sf object is a better solution. See https://gist.github.com/fnshr/bd752961f12dee4670d0c2ab1923e0c9 Code: https://gist.github.com/fnshr/90d204e39ee68d1278cca7a28ce380a0