Data Visualization in R with ggplot2
Overview
Discover how to create informative and visually appealing data visualizations using ggplot2, the leading visualization package for R.
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.
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.
Syllabus
Introduction
- Welcome
- What you need to know
- Using the exercise files
- Introducing ggplot2
- The grammar of graphics
- Loading data sets with read_csv
- Build your first visualization
- Scatterplots
- Lines and smoothers
- Bars and columns
- Histograms
- Box plots
- Modifying the background
- Working with axes
- Changing scales
- Cleaning up legends
- Annotating your visualization
- Adding titles
- Using themes
- Visualizing data with maps
- Obtaining a Google Maps API key
- Working with maps
- Geocoding points
- Changing map types
- Plotting points on a map
- Building a map manually
- Creating a choropleth map
- Challenge assignment
- Mapping colleges and universities
- Adding institution size and control
- Zooming in on California
- Adding city names
- Cleaning the legends
- Adding a title and subtitle
- What's next?
Taught by
Mike Chapple