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.
Questo esercizio fa parte del corso
Working with Categorical Data in Python
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# 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()