1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to the Tidyverse

Connected

अभ्यास

Adding color to a scatter plot

In this lesson you learned how to use the color aesthetic, which can be used to show which continent each point in a scatter plot represents.

निर्देश

100 XP
  • Create a scatter plot with population (pop) on the x-axis, life expectancy (lifeExp) on the y-axis, and with continent (continent) represented by the color of the points. Put the x-axis on a log scale.