Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Course Recap
9. Scatter plot
Final challenge
Summary

Instruction

Great! It's time to draw some plots!

Exercise

We want to see how price_per_person relates to overall_satisfaction. Draw the following scatter plot:

Sample plot

Use the following settings:

  1. figsize 10 x 5,
  2. transparency 50%,
  3. point size 120,
  4. marker 'o'.
  5. Only consider offers with overall_satisfaction > 0.

Stuck? Here's a hint!

Create a temporary DataFrame:

airbnb_dataset_filtered = airbnb_dataset[airbnb_dataset.overall_satisfaction > 0]

To draw a scatter plot, use plt.scatter().