Categorical Plots

Let’s learn about categorical data and their plotting options.

Seaborn provides a range of options to plot categorical data. Seaborn divides categorical plots into three groups:

Categorical scatter plots: These show each observation at each level of the categorical variable. They include the following:

  • stripplot()
  • swarmplot()

Categorical distribution plots: These apply a statistical estimation to show a measure of central tendency and confidence interval. They include the following:

  • boxplot()
  • violinplot()
  • boxenplot()

Categorical estimate plots: Apply a statistical estimation to show a measure of central tendency and confidence interval.

  • barplot()
  • countplot()
  • pointplot()

Along with the types of categorical plots mentioned above, we’ll also discuss a different kind of plot— catplot() (previously known as factorplot).

Get hands-on with 1200+ tech skills courses.