> ## Documentation Index
> Fetch the complete documentation index at: https://cubed3-feat-druid-driver-streaming.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Boxplot

> Display the statistical distribution of a measure across categories using box-and-whisker plots.

Boxplots summarize the distribution of a numeric measure per category, showing the median, interquartile range, and outliers in a single mark. Use them to compare spread and skew across groups rather than just averages.

## Variant

### Box-and-whisker

One dimension on the X axis groups the data into categories. One measure on the Y axis provides the raw values. The chart computes the distribution statistics internally.

## Reading a boxplot

| Element         | Description                                   |
| --------------- | --------------------------------------------- |
| **Box**         | Interquartile range — 25th to 75th percentile |
| **Center line** | Median (50th percentile)                      |
| **Whiskers**    | Extend to min/max within 1.5× the IQR         |
| **Points**      | Values beyond the whiskers (outliers)         |

## Data structure

Boxplots require **raw, row-level data** — each row is one observation. Do not pre-aggregate before using a boxplot; the chart engine computes the distribution itself.

* **X axis** — the grouping dimension (e.g. product category)
* **Y axis** — the measure to distribute (e.g. sale price)
