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!
Visualize your data 1
Visualize your data 2
Work with your chart
11. Add a title
Check yourself


Remember to give your chart a descriptive title.

You know all about choosing a title for your chart. Give it a try for your stacked bar chart!


Add a title to the stacked object and save the results to stacked.

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

Stuck? Here's a hint!

You should write

labs(title = "Total alcohol consumption in France by beverage type")