Create meaningful axis titles.
We already know that every chart should be described. We know that we can change the title of the whole chart to do that, but we can also elaborate our axis titles.
Axis titles should precisely describe what is presented and the units used. You shouldn't use playful or catchy text here – just focus on an accurate description of the data. If you put info about the units used in the main title, you can omit it here.
To change axis titles in
ggplot, we add a
labs command with these two arguments:
Argument x specifies the title of the horizontal axis, and argument y defines the vertical axis title.