Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Know your data
Visualize your data – categorical variables
Work with your chart 2
17. Add meaningful axes titles
Check yourself 2


Use axis titles to clarify your information.

We already know that the chart title should accurately represent the chart's contents. The same rule applies to axes titles – they should accurately represent the variable and the units used on that axis.


Add meaningful titles for both axes. Use the labs() command, with x set to "wealth category" and y set to "percentage of each consumption category".

When you're done, press the Run and Check Code button.

Stuck? Here's a hint!

You should write:

labs(x = "wealth category", y = "percentage of each consumption category")