4
Data Visualization with ggplot2
The previous chapter covered intermediate data processing techniques, focusing on dealing with string data. When the raw data has been transformed and processed into a clean and structured shape, we can take the analysis to the next level by visualizing the clean data in a graph, which we aim to accomplish in this chapter.
By the end of this chapter, you will be able to plot standard graphs using the ggplot2 package and add customizations to present excellent visuals.
In this chapter, we will cover the following topics:
- Introducing ggplot2
- Understanding the grammar of graphics
- Geometries in graphics
- Controlling themes in graphics
Technical requirements
To complete the exercises in this chapter, you will need ...
Get The Statistics and Machine Learning with R Workshop now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.