Session Ready
Exercise

Putting the x-axis on a log scale

You previously created a scatter plot with population on the x-axis and life expectancy on the y-axis. Since population is spread over several orders of magnitude, with some countries having a much higher population than others, it's a good idea to put the x-axis on a log scale.

Instructions
100 XP
  • Change the existing scatter plot (code provided) to put the x-axis (representing population) on a log scale.