Session Ready
Exercise

Grid Plots

Having multiple figures combined in the same layout can be very useful in comparing similar figures or looking at data from different perspectives.

In this set of exercises, you will construct grid plots to combine different rbokeh figures. You will use the tb dataset, which includes records about tuberculosis cases in the U.S. over time.

Note that:

  • rbokeh is pre-loaded.
  • tb_1524 and tb_2534 dataframes contain tuberculosis records for the age groups 15-24 and 25-34 respectively. Both are available in this session, in addition to the full dataset, tb.
Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Create a stacked bar chart with the number of tb cases versus time for the age group 25-34 and assign to bar_2534.
  • Color the bars by gender.
  • Make the hover info available.