Exercise

Scatter plot

Now let's make a scatterplot of weight versus age. To make the code run faster, I've selected only the first 1000 rows from the brfss DataFrame.

weight and age have already been extracted for you. Your job is to use plt.plot() to make a scatter plot.

Instructions

100 XP
  • Make a scatter plot of weight and age with format string 'o' and alpha=0.1.