1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Data Visualization with Seaborn

Exercise

Using a lmplot

The lmplot is used to plot scatter plots with regression lines on FacetGrid objects. The API is similar to catplot with the difference that the default behavior of lmplot is to plot regression lines.

For the first set of exercises, we will look at the Undergraduate population (UG) and compare it to the percentage of students receiving Pell Grants (PCTPELL).

For the second lmplot exercise, we can look at the relationships between Average SAT scores and Tuition across the different degree types and public vs. non-profit schools.

Instructions 1/3

undefined XP
    1
    2
    3
  • Create a FacetGrid() with Degree_Type columns and scatter plot of UG and PCTPELL.