Interpreting line plots
In this exercise, we'll continue to explore Seaborn's mpg dataset, which contains one row per car model and includes information such as the year the car was made, its fuel efficiency (measured in "miles per gallon" or "M.P.G"), and its country of origin (USA, Europe, or Japan).
How has the average miles per gallon achieved by these cars changed over time? Let's use line plots to find out!
Questo esercizio fa parte del corso
Introduction to Data Visualization with Seaborn
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Import Matplotlib and Seaborn
import matplotlib.pyplot as plt
import seaborn as sns
# Create line plot
# Show plot
plt.show()