12. Scatter Plots | Data Visualization with Python | Tech2Teach

Опубликовано: 15 Февраль 2026
на канале: Tech2Teach
875
1

In this video, we will learn about an additional visualization tool: the
scatter plot, and we will learn how to create it using Matplotlib. So what is a
scatter plot? A scatter plot is a type of plot that displays values pertaining to
typically two variables against each other. Usually it is a dependent variable
to be plotted against an independent variable in order to determine if any
correlation between the two variables exists. For example, here is a scatter
plot of income versus education and by looking at the plotted data one can
conclude that an individual with more years of education is likely to earn a
higher income than an individual with fewer years of education. So how can we
create a scatterplot with Matplotlib? Before we go over the code to do that,
let's do a quick recap of our dataset. Recall that each row represents a
country and contains metadata about the country such as where it is located
geographically and whether it is developing or developed. Each row also
contains numerical figures of annual immigration from that country to Canada
from 1980 to 2013.
Now let's process the dataframe so

#DataVisualizationwithPython #Python #Datavisualzation