Course Content
First Dive into seaborn Visualization
1. Nice to Meet you, seaborn!
First Dive into seaborn Visualization
Scatterplot
A scatterplot uses dots to represent values for two different numeric variables. The position of each dot on the horizontal and vertical axis indicates values for an individual data point.
An example of a scatterplot:

To initialize a scatterplot based on the pandas
DataFrame, we need to input at least 3 parameters: x
, y
(columns-coordinates for the plot), and data
(the DataFrame containing the data).
Look at the code below!
Let's solve this problem!

Task
- Import the
seaborn
withsns
alias. - Import the
matplotlib.pyplot
withplt
alias. - Import the
pandas
withpd
alias. - Create a scatterplot using
'x'
column for the x-value and'y'
column for the y-value. - Show the plot.
Everything was clear?
Section 2. Chapter 2