1. Learn
  2. /
  3. Courses
  4. /
  5. Interactive Data Visualization with Bokeh

Connected

Exercise

Using gridplot

The estate agents would like to examine how the relationship between property size and price varies across the four regions of Melbourne:

"Northern", "Western", "Eastern", and "Southern".

This is a great opportunity to use gridplot, displaying one subplot for each region!

Instructions

100 XP
  • Import gridplot.
  • Create df by filtering melb for the desired region.
  • Complete the code to add circle glyphs to fig, representing x as the building area column and y as price, from source, and legend_label as region.
  • Display the subplots in a grid using two columns.