0PricingLogin
Data Science Academy · Lesson

Relationships: scatter and line

Plotting two variables together.

From One Column to Two

Distributions look at a single column. Now you ask how two columns move together, which is the heart of finding a relationship.

The Scatter Plot

A scatter plot places one dot per row, using two columns as x and y. The cloud of dots reveals how the variables connect.

sns.scatterplot(data=df, x="hours", y="score")

All lessons in this course

  1. Why seaborn Over Raw matplotlib
  2. Distributions: hist, kde, box
  3. Relationships: scatter and line
  4. Facets, Hue, and Style
← Back to Data Science Academy