How to Draw a Scatter Plot

In this lesson, we will learn two ways to draw a scatter plot.

A scatter plot is used to plot data points on a figure based on the horizontal and vertical axes. Scatter plots can be used to show the relationship between two variables. They can also show how data clusters in a dataset. One of the most striking features of drawing scatter plots in Matplotlib is the ability to set different colors and sizes for individual data points by using additional variables.

Get hands-on with 1400+ tech skills courses.