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

Connected

Exercise

Changing size

The estate agents have fed back that the subplots are quite large! They have asked you to make the next round of visualizations, displaying the relationship between the year a property was built with a) distance from the CBD and b) property size, a bit smaller.

You will manually specify the size of two subplots in row format.

Instructions

100 XP
  • Set height to 300 pixels and width to 400 pixels for both distance_vs_year and building_size_vs_year.
  • Add circle glyphs to distance_vs_year, with x being the year_built and y representing distance from CBD.
  • Repeat for building_size_vs_year with the same x-axis, but setting y to building_area.
  • Finish the show() call to display the subplots in a row layout.