The R-Podcast

Giving practical advice on how to use R for powerful and innovative data analyses.

The R-Podcast Episode 8: Visualization with ggplot2

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:

Direct Download: [mp3 format] [ogg format]

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,, + 1-269-849-9780, Twitter @theRcast
89:29 End


Comments powered by Disqus