# Split bar
URL: /diagrammatic/docs/charts/split-bar

One row, two shares.

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

Each row has two shares that sum to 100. Three rows show their split points side by side.

edge · west-1

- a

  - label

    hit

  - value

    91

- b

  - label

    miss

  - value

    9

- title

  edge · west-1

edge · east-1

- a

  - label

    hit

  - value

    84

- b

  - label

    miss

  - value

    16

- title

  edge · east-1

origin · writes

- a

  - label

    ok

  - value

    97

- b

  - label

    err

  - value

    3

- title

  origin · writes

Illustrative data. Edge and origin counters, last 60 minutes.

fig. 66 · Cache hits against origin errors

West-1 has 91% hits and 9% misses. East-1 misses 16%, seven points more than west-1. Origin writes show 3% errors.

- Use it for

  Inline two-way proportions: sent against received, hit against miss.

- Watch out

  Two segments only; more shares deserve a real stacked bar.