Search⌘ K
AI Features

Box Plot

Explore how to use box plots to visualize data distribution and detect outliers. Understand when box plots are appropriate and learn to create them in Altair using the mark_boxplot() function. Discover alternatives like violin plots and histograms to enhance your data storytelling skills.

A box plot, also known as a whisker plot, represents a dataset’s distribution. It’s a useful tool for visualizing the spread and skewness of data and identifying potential outliers.

An example of a box plot
An example of a box plot

When are box plots useful?

Box plots are useful when we want to:

  • Visualize the data distribution.

  • Consider the context in which we collected the data. ...