Data Visualization in R with ggplot2 (2018)
2h 27mIntermediate2018-04-11
Authors

Mike Chapple
Teaching Professor at the University of Notre Dame
Course details
Discover how to create informative and visually appealing data visualizations using ggplot2, the leading visualization package for R. In this course, Mike Chapple shows how to work with ggplot2 to create basic visualizations, how to beautify those visualizations by applying different aesthetics, and how to visualize data with maps. Throughout the course, Mike also covers key concepts such as the grammar of graphics and how to apply different geometries to visualize data. To wrap up, he shares a case study that lends a practical context to the concepts covered in the course.
Learning objectives
Building visualizations
Applying different geometries to visualize data
Applying aesthetic mappings to geometries
Beautifying visualizations to prepare them for publication
Visualizing data with maps
Annotating a visualization
Plotting points on a map
Creating a choropleth map
Learning objectives
Building visualizations
Applying different geometries to visualize data
Applying aesthetic mappings to geometries
Beautifying visualizations to prepare them for publication
Visualizing data with maps
Annotating a visualization
Plotting points on a map
Creating a choropleth map
Skills covered
RStudioRStatisticsData VisualizationProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you need to know
- 03 - Using the exercise files
1. Introducing ggplot2
- 04 - Introducing ggplot2
- 05 - The grammar of graphics
- 06 - Loading data sets with read csv
- 07 - Build your first visualization
2. Geometry Types and Aesthetics
- 08 - Scatterplots
- 09 - Lines and smoothers
- 10 - Bars and columns
- 11 - Histograms
- 12 - Box plots
3. Beautifying Your Visualizations
- 13 - Modifying the background
- 14 - Working with axes
- 15 - Changing scales
- 16 - Cleaning up legends
- 17 - Annotating your visualization
- 18 - Adding titles
- 19 - Using themes
4. Geospatial Visualizations
- 20 - Visualizing data with maps
- 21 - Obtaining a Google Maps API key
- 22 - Working with maps
- 23 - Geocoding points
- 24 - Changing map types
- 25 - Plotting points on a map
- 26 - Building a map manually
- 27 - Creating a choropleth map
5. Case Study - Colleges and Universities
- 28 - Challenge assignment
- 29 - Mapping colleges and universities
- 30 - Adding institution size and control
- 31 - Zooming in on California
- 32 - Adding city names
- 33 - Cleaning the legends
- 34 - Adding a title and subtitle
Conclusion
- 35 - What's next
Related courses
- Data Visualization in R with ggplot2
- Creating Reports and Presentations with R Markdown and RStudio
- R Essential Training: Wrangling and Visualizing Data
- Introduction to jamovi
- Data Science Foundations: Data Assessment for Predictive Modeling
- Tableau and R for Analytics Projects
- Tableau and R for Analytics Projects (2019)
- R: Interactive Visualizations with htmlwidgets