Skip to content

Instantly share code, notes, and snippets.

@revodavid
Last active December 31, 2015 22:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save revodavid/bcdfe58b699c93160d8b to your computer and use it in GitHub Desktop.
Save revodavid/bcdfe58b699c93160d8b to your computer and use it in GitHub Desktop.
## R script and data by Kieran Healey
## https://twitter.com/kjhealy/status/669567682178654208
datafile = "blog.revolutionanalytics.com/downloads/tdata.csv"
library(ggplot2)
x = read.csv(paste0("http://",datafile))
ggplot(x) + geom_tile(aes(x=H,y=T,fill=tc))+scale_fill_identity()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment