Intermediate Data Visualization with Seaborn
Chris Moffitt
Instructor

g = sns.JointGrid(data=df, x="Tuition", y="ADM_RATE_ALL")
g.plot(sns.regplot, sns.histplot)

g = sns.JointGrid(data=df, x="Tuition", y="ADM_RATE_ALL")
g = g.plot_joint(sns.kdeplot)
g = g.plot_marginals(sns.kdeplot, shade=True)

sns.jointplot(data=df, x="Tuition", y="ADM_RATE_ALL", kind='hex')

g = (sns.jointplot(x="Tuition",
y="ADM_RATE_ALL",
kind="scatter",
xlim=(0, 25000),
data=df.query('UG < 2500 &
Ownership == "Public"'))
.plot_joint(sns.kdeplot))

Intermediate Data Visualization with Seaborn