Module 06 of 10

Data Visualization with ggplot2

Lessons

About This Module

A good chart often shows what a table of numbers cannot. This module introduces ggplot2, R's most widely used package for data visualization, built on the grammar of graphics: you start with data, map variables to aesthetics such as position and color, and add geoms to draw points, lines, bars, or boxes.

You'll build common plots including scatter plots, bar charts, histograms, box plots, and density plots, then see how to use labels, themes, and multi-panel layouts to make them clear and ready to share. The lessons pair short introductions with longer walkthroughs of complete plots.

Watch the lessons in order, then continue on to Statistics & Modeling.

Lessons

4 videos
01

R data visualisation with ggplot2

An introductory library session covering how to install ggplot2 and start exploring several types of plots.

02

Introduction to ggplot2 Package in R

Statistics Globe shows how to draw graphics with ggplot2, step by step, with a table of contents to jump between plot types.

03

R for Data Science - Data Visualization (2)

Covers the basics of ggplot2 with examples of bar charts, histograms, box plots, and density plots.

04

Data visualization in R with ggplot2

Shows how to make a boxplot and a scatterplot with ggplot2, and how to combine several plots into a multi-panel figure.