slopegraph

Slopegraph in R. Slopegraph shows the change of the quantity or rank.

Beautiful slopegraph example. http://www.drewconway.com/zia/

Theory of slopegraph. http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk

An R and ggplot2 code example of slopegraph https://github.com/leondutoit/slopegraph/blob/master/slopegraph.

R Example code.

Generate sample data

Add an offset column for label positioning

Slopegraph in R Slopegraph shows the change of…
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *