Regression plot parameters
Seaborn's regression plot supports several parameters that can be used to configure the plots and drive more insight into the data.
For the next exercise, we can look at the relationship between tuition and the percent of students that receive Pell grants.
A Pell grant is based on student financial need and subsidized by the US Government. In this data set,
each University has some percentage of students that receive these grants. Since this data is continuous,
using x_bins can be useful to break the percentages into categories in order to summarize and understand the data.
Deze oefening maakt deel uit van de cursus
Intermediate Data Visualization with Seaborn
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Plot a regression plot of Tuition and the Percentage of Pell Grants
sns.regplot(data=df,
y='Tuition',
x='____')
plt.show()
plt.clf()