Line plots

Introduction to the Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Lh6gzxG.png

Introduction to the Tidyverse

Types of plots

Introduction to the Tidyverse

Scatter vs line plot

5qxWIwS.png

geom_point()

0wKg3sL.png

geom_line()

Introduction to the Tidyverse

Line plot

0wKg3sL.png

ggplot(year_continent, aes(x = year, y = meanLifeExp, color = continent)) +
  geom_line() +
  expand_limits(y = 0)
Introduction to the Tidyverse

Let's practice!

Introduction to the Tidyverse

Preparing Video For Download...