# Sparkbar
URL: /diagrammatic/docs/charts/sparkbar

A bar series the size of a word.

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

A delivery board gives each service one table row: fourteen bars for fourteen days, the count at the end. Discrete periods stay bars. A line would invent a slope that never happened.

- series

  - api

    - 2
    - 1
    - 4
    - 3
    - 6
    - 5
    - 2
    - 1
    - 8
    - 3
    - 2
    - 4
    - 1
    - 0

  - web

    - 1
    - 0
    - 2
    - 2
    - 3
    - 1
    - 0
    - 1
    - 4
    - 2
    - 1
    - 2
    - 1
    - 1

  - jobs

    - 0
    - 0
    - 1
    - 0
    - 2
    - 1
    - 0
    - 0
    - 3
    - 1
    - 0
    - 1
    - 0
    - 0

api

- data

  - 2
  - 1
  - 4
  - 3
  - 6
  - 5
  - 2
  - 1
  - 8
  - 3
  - 2
  - 4
  - 1
  - 0

- title

  api

42

web

- data

  - 1
  - 0
  - 2
  - 2
  - 3
  - 1
  - 0
  - 1
  - 4
  - 2
  - 1
  - 2
  - 1
  - 1

- title

  web

21

jobs

- data

  - 0
  - 0
  - 1
  - 0
  - 2
  - 1
  - 0
  - 0
  - 3
  - 1
  - 0
  - 1
  - 0
  - 0

- title

  jobs

9

Illustrative data. Deploy events, last 14 calendar days.

fig. 61 · Deploys per day, last two weeks

api totals 42 deploys and peaks at eight on day nine. jobs totals nine and also peaks on day nine, at three. Several days have zero jobs deploys.

- Use it for

  Discrete periods inline: recent counts beside their label.

- Watch out

  Keep one scale across sibling rows or the comparison lies.