Box plots

Introduction to the Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Histograms

9082EDp.png

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram()
Introduction to the Tidyverse

Box plots

6PlufTn.png

ggplot(gapminder_2007, aes(x = continent, y = lifeExp)) +
  geom_boxplot()
Introduction to the Tidyverse

Histogram vs box plot

9082EDp.png

6PlufTn.png

Introduction to the Tidyverse

Let's practice!

Introduction to the Tidyverse

Preparing Video For Download...