# `Macaw.Frame.Charts.Boxplot`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/charts/boxplot.ex#L1)

`charts.boxplot` (spec/13 §7.1), a second-cut chart: a box per category from its first
to its third quartile, the median across it and whiskers to its least and greatest
readings within the fences, with the readings beyond as points. Every number is
macaw_data's (macaw_data#336): `aggregate(fn: ["box", "min", "max"], by: category)`
writes the quartiles, the whiskers' ends and the extremes as packed float64 columns,
and the `outliers` step keeps each reading beyond its group's fences as its own input
row. The `box` kind draws the summary and a `symbol` layer the outliers; the frame
computes no statistic. New in the second cut.

`whisker` reads the whiskers: `"tukey"` to the readings within 1.5 IQRs of the box, the
outliers drawn beyond them when `show_outliers` is set; `"minmax"` to the least and the
greatest reading, the `min` and `max` of the same step, with no outlier beyond them.

    iex> Macaw.Frame.Charts.Boxplot.id()
    "charts.boxplot"

# `doc`

```elixir
@spec doc() :: String.t()
```

What it draws, for a person and a builder's library.

# `fixtures`

```elixir
@spec fixtures() :: [map()]
```

Its fixtures (spec/14 §1): three services' response times, a few slow outliers.

# `fragment`

```elixir
@spec fragment() :: map()
```

The fragment: macaw_data's box summary under the box kind, its outliers as symbols.

# `id`

```elixir
@spec id() :: String.t()
```

The fragment's id in the catalog store.

# `kind`

```elixir
@spec kind() :: :design | :layers
```

What the fragment is: a whole design, or layers placed in one.

# `namespace`

```elixir
@spec namespace() :: :charts | :maps | :diagrams
```

Its namespace (spec/13 §2).

# `parameters`

```elixir
@spec parameters() :: [{String.t(), map()}]
```

Its parameters (spec/13 §3, §7.1).

# `slots`

```elixir
@spec slots() :: %{required(String.t()) =&gt; map()}
```

Its slot: `data`, a `category` and a `value`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
