Exercise: Visualizing Auto MPG Dataset
This lesson provides a few exercises to test your understanding of the seaborn module for visualization.
We'll cover the following
In the challenges below, we will use the same data frame as read in from the Reading Data exercise.
Scatter plot #
Create an additional function scatter_plot
that takes a data frame df
and plot relationship between the following two attributes:
displacement
over x-axisacceleration
over y-axis
Try to implement the function below. Good Luck!