The Digital Scholarship Center hosted a two-part demonstration on using ggplot2 to visualize different types of data with R. The demonstration was divided into sections on data visualization in the natural sciences, social sciences, and humanities. The code from the demonstration is available via Github.
R is a powerful statistical software with a modular architecture that allows researchers to customize their environment. ggplot2 is one of the most common packages used for plotting and is based on the “grammar of graphics” developed by Leland Wilkinson.
The demonstration includes examples from both Data Carpentry and Data Camp, two valuable education resources for faculty and staff who are interested in self-directed learning or providing improved instruction for students.