0Pricing
R Academy · Lesson

ggplot2 Basics

Explore the grammar of graphics and create your first ggplot using aesthetic mappings.

1

Introduction to ggplot2

ggplot2 is a powerful visualization package in R that follows the grammar of graphics approach.

ggplot2 Basics — illustration 1

2

Installing and Loading ggplot2

Before using ggplot2, install and load the package.

install.packages('ggplot2')
library(ggplot2)

All lessons in this course

  1. ggplot2 Basics
  2. Layers and Geoms
  3. Theme Customization
← Back to R Academy