3. Creating a Scatter Plot. In Matplotlib, you can create a scatter plot to visualize individual data points. You can use the plt.scatter()
function to create scatter plots.
For example, you can create a scatter plot of x and y values like this: import matplotlib.pyplot as plt; plt.scatter(x, y)
.
In the exercise below, you will create a scatter plot.