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

`charts.treemap` (spec/13 §5.2): the leaves tiled by value with padding and the tile
method, each colored by its branch, contrast labels truncated to their cells. Copied
from visualize's `Visualize.Chart.Presets.treemap_chart/1`.

    iex> Macaw.Frame.Charts.Treemap.id()
    "charts.treemap"

# `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).

# `fragment`

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

The fragment: a rect per leaf of the treemap step.

# `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, §5.2).

# `slots`

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

Its slot: a hierarchy's `nodes` (spec/13 §5).

---

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