Introduction
Know your problem
Know your data
5. Look at your data
Visualize your data - pie charts
Work with your chart
Check yourself

Instruction

In this chapter, we will use variables from the france_beverages dataset. Once again, this data comes from the WHO's GISAH site. It describes the consumption of different alcoholic beverages in France.

There are three variables in this set:

  • country - the name of the country, i.e. France,
  • beverage - the type of alcoholic beverage consumed,
  • consumption - how many liters of pure alcohol consumed per adult in 2010, by beverage type.

There four observations in the dataset, one for each beverage type:

  1. Wine
  2. Spirits
  3. Beer
  4. Other

Exercise

We know what variables we can expect in our dataset. Nevertheless, it is always good to see the real data.

Look at the entire france_beverages dataset. Call it by writing its name at the prompt.

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

Stuck? Here's a hint!

You should simply write france_beverages.