Online index of plots and corresponding R scripts

(This article was first published on The Chemical Statistician » R programming, and kindly contributed to R-bloggers)

Dear Readers of The Chemical Statistician,

While working in my job at the British Columbia Cancer Agency, I learned about a wonderful new data visualization resource from a colleague who works at the British Columbia Centre for Disease Control.  I want to share this with you, as I think that it will help you immensely in your efforts to plot data in R.

Joanna Zhao, an undergraduate researcher in the Department of Statistics at the University of British Columbia, produced a visual index of over 100 plots using ggplot2, the R package written by Hadley Wickham:

http://shinyapps.stat.ubc.ca/r-graph-catalog/

Click on a thumbnail on the above web page – you will see the figure AND all of the necessary code to reproduce the figure.  These plots are from Naomi Robbins‘ book “Creating More Effective Graphs”.

If you

  • want to make a good plot in R
  • roughly know what the plot should look like
  • but could really use an example to get started,

then this is a great resource for you!  The following GitHub repository has the code for ALL figures and the infrastructure for Joanna’s Shiny app:

https://github.com/jennybc/r-graph-catalog

 

CCCCCCCCCCCCCCCCCCCCCCC

 

To leave a comment for the author, please follow the link and comment on their blog: The Chemical Statistician » R programming.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)