Session Ready
Exercise

Specifying Data in rbokeh Layers 3

As you could see in the previous exercises, there is more than one way to pass data into rbokeh layers. Here you will be practicing how to create a new variable and pass it to the y argument at the same time.

Note that the economics dataset is available as a dataframe in this session.

Instructions
100 XP
  • Change the default y label to "unemployment %".
  • Plot unemployment rate (calculated as 100*unemploy/pop) versus time by passing the calculation directly to the correct argument in ly_lines().