Session Ready
Exercise

Types of relationships

How do we effectively identify these relationships in practice? The first and often only step you need, is to visualize the data using a scatter plot. In this exercise, you'll examine a few different relationships, produce the scatter plot, and then consider what each plot tells us about the relationship.

You'll work with a few different features in the Australian weather dataset from before, imported as weather for you to use. For the sake of this exercise, make sure you pass features in the order they are given to you!

Instructions 1/3
undefined XP
  • 1

    Visualize the relationship between the MinTemp and MaxTemp variables using the scatter() function.

    • 2

      Adapt your code to visualize the relationship between the MaxTemp and Humidity9am variables instead.

    • 3

      Lastly, adapt your code once again for MinTemp and Humidity3pm variables.