Intermediate Data Visualization with Seaborn
Chris Moffitt
Instructor
regplot function generates a scatter plot with a regression linedisplotdata and x and y variables must be definedsns.regplot(data=df, x="alcohol", y="pH" )

regplot - low levelsns.regplot(data=df,
x="alcohol",
y="quality")

lmplot - high levelsns.lmplot(data=df,
x="alcohol",
y="quality")

hue)sns.lmplot(data=df,
x="quality",
y="alcohol",
hue="type")

col)sns.lmplot(data=df,
x="quality",
y="alcohol",
col="type")

Intermediate Data Visualization with Seaborn