Session Ready
Exercise

Exercise 11. Infant mortality scatter plot - part 1

We are going to continue looking at patterns in the gapminder dataset by plotting infant mortality rates versus dollars per day for African countries.

Instructions
100 XP
  • Generate dollars_per_day using mutate and filter for the year 2010 for African countries.
    • Remember to remove NA values.
  • Store the mutated dataset in gapminder_Africa_2010.
  • Make a scatter plot of infant_mortality versus dollars_per_day for countries in the African continent.
  • Use color to denote the different regions of Africa.