The R-Podcast Episode 8: Visualization with ggplot2

June 20, 2012

(This article was first published on The R-Podcast, and kindly contributed to R-bloggers)

I’m happy to present this jam-packed episode of the R-Podcast dedicated to using the ggplot2 package for visualization. This episode will have a companion screencast released in the next few days. I use data from the Hockey Summary Project to demonstrate how to create a series of boxplots of NHL regular season attendance for each team. The R code used in this episode will be available via GitHub. I also extend my thanks to the Going Linux podcast for plugging the R-Podcast. If you are interested in providing a listener tip about R, please call the voicemail hotline at +1-269-849-9780 or record an audio clip and send it to theRcast(at) Please keep the wonderful feedback coming and hope you enjoy this episode!

The following resources are mentioned in this episode:

Episode 8 Time Stamps

00:00 The R-Podcast #008 Visualization with ggplot2
00:34 Introduction
01:45 Thank you Going Linux
05:01 Listener feedback
14:14 ggplot2 background and philosophy
23:00 Description of data 
30:20 Setting up our plot with ggplot function
38:15 Adding boxplot layer
44:31 Customizing appearance
60:35 Facet by era
67:02 Making code reproducible
73:03 Helpful ggplot2 resources
85:30 Wrapping up: subscribe to the podcast, [email protected], + 1-269-849-9780, Twitter @theRcast
89:29 End

To leave a comment for the author, please follow the link and comment on their blog: The R-Podcast. 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.


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)