Lesson 37 of 60
pythonSeaborn Categorical Plots: Bar, Box, and Violin
15 minutes
Course progress62%
Categorical Plots with Seaborn
Seaborn's high‑level API makes it easy to visualize categorical data.
Bar plot (mean with confidence interval)
sns.barplot(x='species', y='sepal_length', data=iris, ci=95)
plt.title('Mean Sepal Length by Species')
plt.show()