# Dendrogram
URL: /diagrammatic/docs/charts/dendrogram

Merge history as brackets.

> For AI agents: a documentation index is available at [llms.txt](/llms.txt). Use `.md` for canonical markdown pages; `.mdx` is kept as a backwards-compatible alias on supported URL paths.

```
import { Dendrogram } from "diagrammatic";
```

Twelve topics, with a height for each merge. Lower joins show closer topics.

- aspect

  1.8

- title

  Ticket clusters

- leaves

  - login
  - 2fa
  - session
  - billing
  - refund
  - invoice
  - export
  - api-key
  - webhook
  - mobile
  - crash
  - other

- merges

  - - a

      0

    - b

      1

    - height

      0.12

  - - a

      12

    - b

      2

    - height

      0.18

  - - a

      3

    - b

      4

    - height

      0.16

  - - a

      14

    - b

      5

    - height

      0.22

  - - a

      6

    - b

      7

    - height

      0.2

  - - a

      16

    - b

      8

    - height

      0.28

  - - a

      9

    - b

      10

    - height

      0.19

  - - a

      13

    - b

      15

    - height

      0.4

  - - a

      19

    - b

      17

    - height

      0.52

  - - a

      20

    - b

      18

    - height

      0.61

  - - a

      21

    - b

      11

    - height

      0.78

- highlight

  6

Illustrative data. Ticket topic merge distances.

fig. 52 · Support ticket topic merges

Login, 2fa, and session join first. Billing, refund, and invoice join next. The auth and billing clusters join at 0.40. Export, api-key, and webhook form another cluster by 0.28. Other hangs off the last join at 0.78.

- Use it for

  Hierarchical clustering: what joined what, and how early.

- Watch out

  Height is the metric; cutting at a level is what defines the clusters.