# Icicle
URL: /diagrammatic/docs/charts/icicle

A hierarchy in straight rows.

> 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 { Icicle } from "diagrammatic";
```

A p95 checkout gets profiled. The icicle is the flame graph without the fire: handler on top, callees beneath, width equal to time.

- entries

  - inventory

    1.12s

  - pricing

    0.64s

  - pool wait

    0.32s

  - serialize

    0.18s

  - authorize

    0.92s

  - 3ds

    0.38s

  - retry

    0.18s

  - template

    0.41s

  - partials

    0.21s

  - json

    0.12s

  - session

    0.21s

  - token

    0.13s

* aspect

  1.7

* title

  Checkout p95 by call

* depth

  3

* root

  - label

    checkout · 4.82s

  - children

    - - label

        db · 2.26s

      - children

        - - label

            inventory

          - value

            1.12

        - - label

            pricing

          - value

            0.64

        - - label

            pool wait

          - value

            0.32

        - - label

            serialize

          - value

            0.18

    - - label

        payments · 1.48s

      - children

        - - label

            authorize

          - value

            0.92

        - - label

            3ds

          - value

            0.38

        - - label

            retry

          - value

            0.18

    - - label

        render · 0.74s

      - children

        - - label

            template

          - value

            0.41

        - - label

            partials

          - value

            0.21

        - - label

            json

          - value

            0.12

    - - label

        auth · 0.34s

      - children

        - - label

            session

          - value

            0.21

        - - label

            token

          - value

            0.13

Illustrative data. p95 checkout POST, 14 Aug 2025, traced for 20 minutes.

fig. 24 · Where a 4.82s checkout spends time

Database is 2.26s, and inventory is half of that. Payments is the second slab at 1.48s, with 0.92s in authorize. Render and auth total 1.08s, less than the 1.12s inventory query.

- Use it for

  Drill-down composition where the rectangles stay comparable.

- Watch out

  Depth eats height quickly; show the levels people actually navigate.