We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Firefox.

ggplot2

Starter template for ggplot2



library(ggplot2)
library(gapminder)
library(dplyr)

gapminder_2007 <- gapminder %>%
    filter(year==2007)

# Edit the code below and hit "Run" to see the updated plot!
ggplot(gapminder_2007) + 
  geom_point(
    aes(x = gdpPercap, y = lifeExp,  color = continent, size = pop),
    alpha = 0.7
  )