43 of 53 in the Taped pack

Bar Chart: Stat & chart element for AI agents

Up to six horizontal bars with caps labels, the top bar in the accent, values at the ends..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Taped pack includes all 53 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Taped pack. Add a `barChart` beat to plan.json on a `k` canvas with slots `kicker`, `title` and `items` 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
kickerstringkicker: {"type":"string","minLength":0,"maxLength":14}.
titlestringtitle: {"type":"string","minLength":1,"maxLength":32}.Glute *activation*
itemsstringitems: JSON string. {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":10},"value":{"type":"number","minimum":0,"maximum":100000},"display":{"type":"string","minLength":0,"maxLength":6}},"required":["label","value"]}}.[{"label":"Hip thrust","value":92,"display":"92%"},{"label":"Squat","value":74,"display":"74%"},{"label":"Lunge","value":68,"display":"68%"},{"label":"Deadlift","value":61,"display":"61%"}]

What your agent can change

Bar Chart. Native 1920×1080, 5s at 30fps. A cutaway on the rubber floor.

Up to six horizontal bars with caps labels, the top bar in the accent, values at the ends.

Motion. Bars shoot out (ease-out) 0.1 s apart; values fade in as they land. Why it moves. clarity: the gap between bars is the argument.

Mount

Copy every manifest file into your project (plus af-taped-runtime). Mount with a unique host id, data-composition-id="af-taped-bar-chart-16x9", data-composition-src="compositions/af-taped-bar-chart-16x9.html", data-duration and data-variable-values. A longer data-duration than 5s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: each is laid out natively, never scaled.

Content slots

Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

  • kicker: {"type":"string","minLength":0,"maxLength":14}
  • title (required): {"type":"string","minLength":1,"maxLength":32}
  • items (required): {"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":10},"value":{"type":"number","minimum":0,"maximum":100000},"display":{"type":"string","minLength":0,"maxLength":6}},"required":["label","value"]}}
  • Demo figures are illustrative.

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: exit (wipe or hold).

Example

``json { "kicker": "", "title": "Glute *activation*", "items": "[{\"label\":\"Hip thrust\",\"value\":92,\"display\":\"92%\"},{\"label\":\"Squat\",\"value\":74,\"display\":\"74%\"},{\"label\":\"Lunge\",\"value\":68,\"display\":\"68%\"},{\"label\":\"Deadlift\",\"value\":61,\"display\":\"61%\"}]" } ``

FAQ

What can my AI agent change in Bar Chart?

Your agent fills the kicker, title and items slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Taped look.

Which aspect ratios does Bar Chart support?

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

How do I get Bar Chart?

Bar Chart is included in the Taped pack, which is part of the AgentFrames All-access subscription along with 52 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 53

Get the full Taped pack

Bar Chart comes as part of Taped: 53 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Full frame (16:9) · 20s · made entirely with this pack

More in Taped

See all 53 elements in Taped →