Introduction
Know your problem
Know your data
Visualize your data – numerical variables
Work with your chart
17. Describe your chart: axes titles
Check yourself

Instruction

Create meaningful axes titles.

We already know that a chart's main title should accurately represent its contents. The same rule applies to axes titles: they should accurately represent the variables and units used.

Exercise

Add meaningful titles for both axes. Use the labs() command with the x argument set to "wealth index" and the y argument set to "alcohol consumption in liters per capita".

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

Stuck? Here's a hint!

You should write:

labs(x = "wealth index", y = "alcohol consumption in liters per capita")