Get startedGet started for free

Point plots with subgroups

Let's continue exploring the dataset of students in secondary school. This time, we'll ask the question: is being in a romantic relationship associated with higher or lower school attendance? And does this association differ by which school the students attend? Let's find out using a point plot.

We've already imported Seaborn as sns and matplotlib.pyplot as plt.

This exercise is part of the course

Introduction to Data Visualization with Seaborn

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create a point plot that uses color to create subgroups




# Show plot
plt.show()
Edit and Run Code