# Dot Bar Chart: Stat & chart element for AI agents

> Stat + dot-matrix bar chart: headline number counts up, columns of dots stack in a ripple, highlight column turns yellow with a value tag

Canonical page: https://agentframes.ai/elements/halo/dot-bars/
Markdown: https://agentframes.ai/elements/halo/dot-bars.md

## Overview

- Name: Dot Bar Chart (`dotBars`), an element: one HyperFrames block per size
- Part of: the [Halo](https://agentframes.ai/packs/halo.md) pack (9 of 44). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Stat + dot-matrix bar chart: headline number counts up, columns of dots stack in a ripple, highlight column turns yellow with a value tag
- Pack: [Halo](https://agentframes.ai/packs/halo.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 1:1 (native), 4:5 (stage-fit), 9:16 (stage-fit), 16:9 (stage-fit)
- Canvases: works on white (`w`), purple arcs (hero) (`p`), night (`k`); avoid signal yellow (transitions only) (`y`)
- Typical duration: 3.8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/halo/dot-bars.mp4
- Poster: https://agentframes.ai/media/halo/dot-bars.jpg
- Native 1:1 preview (watermarked): https://agentframes.ai/media/halo/dot-bars-native.mp4
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Halo pack. Add a `dotBars` beat to plan.json on a `w` canvas with slots `eyebrow`, `value`, `prefix`, `suffix`, `label`, `values` and `labels` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `eyebrow` | string | Eyebrow | Plain text. | client results |
| `value` | number | Value | Plain text. | 184 |
| `prefix` | string | Prefix | Plain text. | + |
| `suffix` | string | Suffix | Plain text. | % |
| `label` | string | Label | HTML allowed; mark up to TWO highlight words with <span class="hl-y">…</span>. | more qualified leads<br>in six months |
| `values` | json | Values | JSON array; keep the same shape as the default. | [3,4,4,6,7,9] |
| `labels` | json | Labels | JSON array; keep the same shape as the default. | ["jan","feb","mar","apr","may","jun"] |

## What your agent can change

### Surface

Stat + dot-matrix bar chart: headline number counts up, columns of dots stack in a ripple, highlight column turns yellow with a value tag. Category: `stat`. Canvases: ok `w, p, k`; avoid `y` (the element vanishes on these). Typical 3.8s; settles at 2s.

### Editable (fill through plan.json `slots`)

- `eyebrow` (string). Plain text.
- `value` (number) **EXAMPLE DATA: replace or get client sign-off**. Plain text.
- `prefix` (string). Plain text.
- `suffix` (string). Plain text.
- `label` (string) **EXAMPLE DATA: replace or get client sign-off**. HTML allowed; mark up to TWO highlight words with <span class="hl-y">…</span>.
- `values` (json) **EXAMPLE DATA: replace or get client sign-off**. JSON array; keep the same shape as the default.
- `labels` (json) **EXAMPLE DATA: replace or get client sign-off**. JSON array; keep the same shape as the default.

Optional style/layout overrides: `highlight`, `dark`. Use them only to fix fit, never to change the brand.

### Protected

Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

### What can my AI agent change in Dot Bar Chart?

Your agent fills the `eyebrow`, `value`, `prefix`, `suffix`, `label`, `values` and `labels` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Halo look.

### Which aspect ratios does Dot Bar Chart support?

Dot Bar Chart is designed natively for 1:1 and stage-fits into 4:5, 9:16 and 16:9. A typical beat lasts 3.8s.

### How do I get Dot Bar Chart?

Dot Bar Chart is included in the Halo pack, which is part of the AgentFrames All-access subscription along with 43 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Halo

- [Number Counter](https://agentframes.ai/elements/halo/number-counter.md): Rolling number: each digit rolls up through its own mask and lands in turn, dot row ticks off, label rises
- [Ring Gauge](https://agentframes.ai/elements/halo/ring-gauge.md): Percentage gauge: thick yellow arc draws round a track to the value, number counts inside, 12 tick dots light up
- [Animated Word](https://agentframes.ai/elements/halo/animated-word.md): Animated word: each letter lands on a tile that turns from a rounded diamond to a rounded square, alternating purple and yellow, then ripples
- [Arc Sweep](https://agentframes.ai/elements/halo/arc-sweep.md): Transition: three huge arcs swing across the frame on a corner pivot, cover, and swing off

## Community

Coming soon.
