Categorical Estimate Plots
Explore how to visualize central tendencies and distributions within categories using Seaborn's categorical estimate plots. Learn to create barplots to aggregate data by mean or custom functions, countplots to display category counts, and pointplots to show point estimates with confidence intervals. This lesson helps you understand key statistical visualization techniques for categorical data in Python.
We'll cover the following...
In some cases, the focus is on the central tendency rather than the full distribution within each category. Seaborn provides built-in functions to visualize central tendency across different plot types.
The barplot()
The barplot() is a general plot that allows us to aggregate categorical data based on some function. By default, this function is the mean of the values.
Let’s try plotting a ...