# Diverging bar
URL: /diagrammatic/docs/charts/diverging-bar

Signed values from a shared zero.

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

Zero is the plan. The form sorts itself. Direction is the verdict before any number is read.

- labels

  - cloud
  - search
  - mail
  - iot
  - docs
  - gaming
  - maps
  - ads
  - music
  - video

- series

  - vs plan

    - +48%
    - +34%
    - +26%
    - +18%
    - +9%
    - +4%
    - -12%
    - -22%
    - -29%
    - -38%

* aspect

  1.2

* title

  Revenue against plan

* items

  - - label

      maps

    - value

      -12

  - - label

      cloud

    - value

      48

  - - label

      docs

    - value

      9

  - - label

      video

    - value

      -38

  - - label

      search

    - value

      34

  - - label

      gaming

    - value

      4

  - - label

      ads

    - value

      -22

  - - label

      mail

    - value

      26

  - - label

      music

    - value

      -29

  - - label

      iot

    - value

      18

Illustrative data. Q2 2025 revenue versus the January plan.

fig. 42 · Revenue against plan, by product

Cloud is 48% over. Video is 38% under. Six products are above the line and four are below. The misses grow from 12% for maps to 38% for video.

- Use it for

  Surplus against deficit, growth against decline, by category.

- Watch out

  Sort by value, not alphabet, so the sign structure stays visible.