import pandas as pd
import matplotlib.pyplot as plt
= pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/mtcars.csv")
mtcars
=mtcars.wt, y=mtcars.mpg)
plt.scatter(x"Miles per Gallon vs Weight")
plt.title( plt.show()
Jupyter Notebooks in Quarto
This page was created from a Jupyter notebook!
The heavier the vehicle, the worse the gas mileage!