# Streamgraph
URL: /diagrammatic/docs/charts/streamgraph

A stacked area centered on its own flow.

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

Sixteen weeks of unique visitors across four surfaces, centered on their own flow. Week 9 is the v2 launch. The form is here because the event is a shape, not a number.

- labels

  - w1
  - w2
  - w3
  - w4
  - w5
  - w6
  - w7
  - w8
  - w9
  - w10
  - w11
  - w12
  - w13
  - w14
  - w15
  - w16

- series

  - docs

    - 12
    - 13
    - 12
    - 14
    - 15
    - 16
    - 18
    - 22
    - 28
    - 34
    - 31
    - 26
    - 22
    - 20
    - 19
    - 18

  - playground

    - 6
    - 6
    - 7
    - 7
    - 8
    - 9
    - 12
    - 18
    - 32
    - 24
    - 16
    - 12
    - 10
    - 9
    - 9
    - 8

  - forum

    - 4
    - 4
    - 5
    - 5
    - 6
    - 7
    - 9
    - 14
    - 26
    - 18
    - 12
    - 9
    - 8
    - 7
    - 7
    - 6

  - code host

    - 8
    - 8
    - 9
    - 9
    - 10
    - 11
    - 12
    - 14
    - 16
    - 15
    - 14
    - 13
    - 12
    - 12
    - 11
    - 11

* aspect

  2.2

* title

  Traffic around the v2 launch

* series

  - - name

      docs

    - data

      - 12
      - 13
      - 12
      - 14
      - 15
      - 16
      - 18
      - 22
      - 28
      - 34
      - 31
      - 26
      - 22
      - 20
      - 19
      - 18

  - - name

      playground

    - data

      - 6
      - 6
      - 7
      - 7
      - 8
      - 9
      - 12
      - 18
      - 32
      - 24
      - 16
      - 12
      - 10
      - 9
      - 9
      - 8

  - - name

      forum

    - data

      - 4
      - 4
      - 5
      - 5
      - 6
      - 7
      - 9
      - 14
      - 26
      - 18
      - 12
      - 9
      - 8
      - 7
      - 7
      - 6

  - - name

      code host

    - data

      - 8
      - 8
      - 9
      - 9
      - 10
      - 11
      - 12
      - 14
      - 16
      - 15
      - 14
      - 13
      - 12
      - 12
      - 11
      - 11

* regions

  - - from

      7.5

    - to

      9.5

    - label

      v2 launch

Illustrative data. Unique visitors by surface, week 1 is eight weeks before launch.

fig. 04 · Traffic around the v2 launch

Playground and forum peak in week 9 at 32 and 26, then fall to 24 and 18 in week 10. Docs peaks one week later at 34, then declines to 18 by week 16, still above its week 1 count of 12. Code host rises from 14 in week 8 to 16 in week 9.

- Use it for

  Organic part-to-whole rhythm over long ranges, where shape outranks exact values.

- Watch out

  There is no readable axis; if someone needs numbers, use a stacked area.