# Grouped bar
URL: /diagrammatic/docs/charts/grouped-bar

Sub-categories, shoulder to shoulder.

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

The reliability review compares three severities inside each quarter. Grouping keeps SEV-1 against SEV-1; a stack would hide the only number the board quotes.

- labels

  - Q1 24
  - Q2 24
  - Q3 24
  - Q4 24
  - Q1 25
  - Q2 25

- series

  - SEV-1

    - 6
    - 8
    - 5
    - 11
    - 4
    - 3

  - SEV-2

    - 18
    - 21
    - 16
    - 28
    - 14
    - 12

  - SEV-3

    - 41
    - 38
    - 44
    - 52
    - 36
    - 33

* aspect

  2

* title

  Incidents by severity

* groups

  - Q1 24
  - Q2 24
  - Q3 24
  - Q4 24
  - Q1 25
  - Q2 25

* series

  - - name

      SEV-1

    - data

      - 6
      - 8
      - 5
      - 11
      - 4
      - 3

  - - name

      SEV-2

    - data

      - 18
      - 21
      - 16
      - 28
      - 14
      - 12

  - - name

      SEV-3

    - data

      - 41
      - 38
      - 44
      - 52
      - 36
      - 33

* yTicks

  - - at

      0

    - label

      0

  - - at

      25

    - label

      25

  - - at

      50

    - label

      50

* guides

  - - at

      8

    - label

      SEV-1 budget

Illustrative data. Incident bot, production only. n = 390.

fig. 13 · Incidents by severity, six quarters

Q4 24 has the highest total at 91 incidents. SEV-1 reaches 11 against a budget of eight, then falls to four and three in the next two quarters. SEV-3 also peaks in Q4 24 at 52, then falls to 33 by Q2 25.

- Use it for

  Two or three series compared within each category.

- Watch out

  Four or more bars per cluster stops being comparable; split into small multiples.