Skip to content

Instantly share code, notes, and snippets.

View adamhsparks's full-sized avatar
🇦🇺

Adam H. Sparks adamhsparks

🇦🇺
View GitHub Profile
@adamhsparks
adamhsparks / orig.png
Created April 24, 2016 12:06 — forked from hrbrmstr/orig.png
Supreme Annotations - moar splainin here: http://rud.is/b/2016/03/16/supreme-annotations/ - NOTE: this requires the github version of ggplot2
orig.png
@adamhsparks
adamhsparks / stacked_map_R_ggplot2.md
Created April 20, 2016 11:37 — forked from rafapereirabr/stacked_map_R_ggplot2.md
Creating a stacked map in R using ggplot2

This gist shows in two steps how to tilt and stack maps using ggplot2 in order to create an image like this one: [![enter image description here][1]][1]

Let's load the necessary libraries and data to use a reproducible example:

# load libraries
  library(rgeos)
  library(UScensus2000tract)
  library(ggplot2)