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

`charts.density` (spec/13 §7.1), a second-cut chart: a kernel density estimate of a
number's readings, one filled area per series. The estimate is macaw_data's `density`
operation (macaw_data#309), grouped by `series` when it is bound, never the frame's:
the area reads its `value` and `density` columns as `x` and `y`. New in the second cut.

    iex> Macaw.Frame.Charts.Density.id()
    "charts.density"

# `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): two services' response times.

# `fragment`

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

The fragment: macaw_data's density by series under an area and its edge.

# `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 `value` and an optional `series`.

---

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