Being able to create visualizations (graphical representations) of data is a key step in data analysis. In this module you will learn to use the
ggplot2 library to visualize your data. As illustrated in week 2, R does provide built-in plotting functions; however, the
ggplot2 library implements what is known as the Grammar of Graphics. This makes it particularly effective for describing how visualizations should represent data, and has turned it into the preeminent plotting library in R.
The following tutorials will provide you the knowledge and skills required to create the meaningful, elegant, and finely tuned data visualizations that I will be looking for in your final project.
ggplot2: Read and work through Chapter 3: Data Visualization in R for Data Science to get an introduction to the
ggplot2and other packages that work with
ggplot2. Here are some resources to help you take your visualizations to the next level:
In addition, be sure to bring your final project data to class because you will work on it during class. Furthermore, identify at least 10 specific questions you want to ask of your project data. Using what you learned this week, what type of visualizations can you apply to help answer these questions? Be ready to use
ggplot2 to answer these questions in class.