Major improvements in life expectancy (and many other measures of health) across the world
ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop)) +
geom_point(alpha = 0.5, show.legend = FALSE) +
scale_colour_manual(values = country_colors) +
scale_size(range = c(2, 12)) +
scale_x_log10() +
facet_wrap(~continent) +
labs(title = 'Year: {frame_time}', x = 'Log GDP Per Capita ($US)', y = 'Life Expectancy (years)') +
transition_time(year) +
ease_aes('linear') +
theme_bw()