Skip to content

katrinleinweber/r-slopegraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slopegraphs in R
James Keirstead
12 December 2013
https://www.jameskeirstead.ca/r/slopegraphs-in-r/

This is a small project demonstrating how Edward Tufte style slopegraphs can be made with R and ggplot2.  The project consists of:

- slopegraph.r: the R script (requires ggplot2 library)
- cancer_survival_rates.csv: the raw data
- slopegraph-demo.r: creates example plot