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


  1. Creating a Hex Map Fumiaki Nishihara Tokyo.R 71 (2018-07-15) (@f_nisihara)
  2. What do you like? shapes Photo by Scott Webb on
  3. Shapes R Users Don’t Like?

  4. Shapes R Users Like? Hexagons Source: (Top) (Bottom

    Left) (Bottom Right)
  5. The 2017 UK General Election Results Source: (Left)

    (Right) Both show the same results: the party won the seat in each electoral district.
  6. The 2017 UK General Election Results Proportional Hexagonal Every district

    is represented in the same size. Small districts are small in the map.
  7. Blue districts (=Conservative seats) seem to be overwhelming because these

    districts are relatively large.
  8. Proportional London Hexagonal London London: Small but having many districts

  9. Hexagonal map of electoral districts for the House of the

    Representatives of Japan
  10. Source: title=File:JapanGrey_borders.png&oldid=164165226 (Left) Proportional Tokyo Hexagonal Tokyo

  11. 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 Code:
  12. The 2017 Japan General Election Results