1 of 46 in the Clay & Ink V2 pack

Bar Chart: Stat & chart element for AI agents

Bar chart: clay and ink bars grow on a floating card with serif labels; the winning bar gets a ring.

  • 16:9native
  • 9:16native

Watermarked preview. The Clay & Ink V2 pack includes all 46 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Clay & Ink V2 pack. Add a `barCard` beat to plan.json on a `footage` canvas with slots `label`, `unit`, `bars` and `highlight` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
labelstringLabel: Plain text. Wrap the ONE accent word in *stars*.Hours of deep work per week
unitstringUnit: Plain text.h
barsjsonBars: JSON; keep the same shape as the default.[["Jan",4],["Feb",6],["Mar",9],["Apr",14]]
highlightnumberHighlight3

What your agent can change

Surface

Bar chart: clay and ink bars grow on a floating card with serif labels; the winning bar gets a ring. Set: standard. Category: stat. Canvases: ok footage. Typical 4s; settles at 2.3s. Safe to sit beside a speaker (content stays on the left).

Editable (fill through plan.json slots)

  • label (string). Plain text. Wrap the ONE accent word in *stars*.
  • unit (string). Plain text.
  • bars (json). JSON; keep the same shape as the default.
  • highlight (number).

Protected

Do not change the motion, easing, timing, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±30%) 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 Bar Chart?

Your agent fills the label, unit, bars and highlight slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Clay & Ink V2 look.

Which aspect ratios does Bar Chart support?

Bar Chart is designed natively for 16:9 and 9:16. A typical beat lasts 4s.

How do I get Bar Chart?

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

This is 1 of 46

Get the full Clay & Ink V2 pack

Bar Chart comes as part of Clay & Ink V2: 46 elements, 4 starter videos and every size (16:9, 9:16), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

YouTube talking head (16:9) · 40s · made entirely with this pack

More in Clay & Ink V2

See all 46 elements in Clay & Ink V2 →