Bar plot using hue
Aggregating information across multiple categories is often necessary to help stakeholders better understand their data. In preparation for building a dashboard that will allow users to select up to two variables when creating visualizations, you want to test visualizations that use different combinations of categorical variables using a bar plot.
This exercise is part of the course
Working with Categorical Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Add a second category to split the data on: "Free internet"
sns.set(font_scale=2)
sns.set_style("darkgrid")
sns.catplot(____, y="Score", data=reviews, kind="bar", ____)
plt.show()