# Violin
URL: /diagrammatic/docs/charts/violin

A box plot with its shape restored.

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

The density profiles show the shape of review times. Each group has 20 plotted reviews, shown as dots and counted in its label.

- labels

  - payments · n=20
  - growth · n=20
  - platform · n=20
  - legacy · n=20

- entries

  - payments · n=20

    median 3.1h

  - growth · n=20

    median 6.85h

  - platform · n=20

    median 6.1h

  - legacy · n=20

    median 14.9h

* aspect

  1.45

* title

  Hours to first review

* groups

  - - label

      payments · n=20

    - widths

      - 1
      - 4
      - 11
      - 16
      - 12
      - 6
      - 3
      - 1
      - 0.4
      - 0.2
      - 0.1

    - median

      0.27381

    - points

      - 0.8
      - 1.1
      - 1.4
      - 1.6
      - 1.9
      - 2.1
      - 2.4
      - 2.6
      - 2.8
      - 3
      - 3.2
      - 3.4
      - 3.7
      - 4
      - 4.4
      - 4.9
      - 5.6
      - 6.4
      - 7.8
      - 9.2

  - - label

      growth · n=20

    - widths

      - 0.4
      - 1
      - 3
      - 6
      - 10
      - 13
      - 12
      - 9
      - 6
      - 3
      - 1

    - median

      0.23485

    - points

      - 2.2
      - 2.8
      - 3.4
      - 3.9
      - 4.4
      - 4.9
      - 5.4
      - 5.8
      - 6.2
      - 6.6
      - 7.1
      - 7.6
      - 8.2
      - 9
      - 10.2
      - 12
      - 14.4
      - 16.8
      - 19
      - 22

  - - label

      platform · n=20

    - widths

      - 0.6
      - 2
      - 5
      - 9
      - 12
      - 13
      - 11
      - 7
      - 4
      - 2
      - 0.6

    - median

      0.23196

    - points

      - 1.6
      - 2.2
      - 2.8
      - 3.3
      - 3.8
      - 4.2
      - 4.6
      - 5
      - 5.4
      - 5.8
      - 6.4
      - 7
      - 7.8
      - 8.8
      - 10
      - 11.6
      - 13.4
      - 15.2
      - 17.8
      - 21

  - - label

      legacy · n=20

    - widths

      - 2
      - 5
      - 7
      - 4
      - 3
      - 3
      - 5
      - 8
      - 7
      - 4
      - 2

    - median

      0.33578

    - points

      - 1.2
      - 1.8
      - 2.4
      - 3
      - 3.6
      - 4.2
      - 12
      - 13.4
      - 14
      - 14.6
      - 15.2
      - 16
      - 17.2
      - 18.8
      - 21
      - 24
      - 28
      - 32
      - 36
      - 42

Illustrative data. First non-author review times, 20 plotted reviews per team.

fig. 30 · Hours to first review, four teams

Payments clusters at the short end, with a 3.1-hour median among the plotted reviews. Growth and platform have medians of 6.85 and 6.1 hours. Legacy has an early cluster and a later pile, with a 14.9-hour median.

- Use it for

  Group comparisons where the full density profile matters.

- Watch out

  Small samples make confident-looking violins; show the sample size.