8 of 50 in the Receipts pack

Chart Callout: Stat & chart element for AI agents

A figure from the source: bars grow from a zero baseline (or the line draws point to point), values label each mark, then a ring lands on the value that matters and an arrow leads to a short callout. Drawn to scale; never overshoots..

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

Watermarked preview. The Receipts pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Receipts pack. Add a `chartCallout` beat to plan.json on a `ember` canvas with slots `title`, `subtitle`, `kind`, `items`, `unit`, `max`, `decimals`, `highlight`, `callout`, `source`, `url` and `date` 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
titlestringtitle: {"type":"string","minLength":1,"maxLength":80}.Applicants per job advert
subtitlestringsubtitle: {"type":"string","minLength":0,"maxLength":90}.Average across trial firms, by month (illustrative)
kindenumkind: {"type":"string","enum":["bars","line"]}.bars
itemsstringitems: JSON string. {"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}.[{"label":"Sep","value":24},{"label":"Oct","value":27},{"label":"Nov","value":31},{"label":"Dec","value":30},{"label":"Jan","value":44},{"label":"Feb","value":51}]
unitstringunit: {"type":"string","minLength":0,"maxLength":4}.
maxnumbermax: {"type":"number","minimum":0,"maximum":1000000000}.
decimalsnumberdecimals: {"type":"integer","minimum":0,"maximum":2}.0
highlightnumberhighlight: {"type":"integer","minimum":0,"maximum":7}.5
calloutstringcallout: JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"detail":{"type":"string","minLength":0,"maxLength":70}},"required":["label"]}.{"label":"Twice as many","detail":"once adverts mentioned the shorter week"}
sourcestringsource: {"type":"string","minLength":0,"maxLength":90}.Source: Ledgerline analysis of trial data (illustrative demo figures)
urlstringurl: {"type":"string","minLength":0,"maxLength":70}.ledgerline.example/analysis/charts
datestringdate: {"type":"string","minLength":0,"maxLength":24}.Mar 16, 2026

What your agent can change

Chart Callout. Native 1920×1080, 8s at 30fps.

A figure from the source: bars grow from a zero baseline (or the line draws point to point), values label each mark, then a ring lands on the value that matters and an arrow leads to a short callout. Drawn to scale; never overshoots.

Motion. Window rises; bars grow (ease-out, staggered) / the line draws (ease in-out) with dots appearing as it reaches them; the ring draws round the highlight; the callout rises and its arrow draws to the ring. Why it moves. change + attention: the data builds honestly from zero, then the callout says which bar the speaker is talking about.

Mount

Copy every manifest file into your project (plus af-receipts-runtime). Mount with a unique host id, data-composition-id="af-receipts-chart-callout-16x9", data-composition-src="compositions/af-receipts-chart-callout-16x9.html", data-duration and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): 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).

  • title (required): {"type":"string","minLength":1,"maxLength":80}
  • subtitle: {"type":"string","minLength":0,"maxLength":90}
  • kind: {"type":"string","enum":["bars","line"]}
  • items (required): {"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":14},"value":{"type":"number","minimum":0,"maximum":1000000000}},"required":["label","value"]}}
  • unit: {"type":"string","minLength":0,"maxLength":4}
  • max: {"type":"number","minimum":0,"maximum":1000000000}
  • decimals: {"type":"integer","minimum":0,"maximum":2}
  • highlight: {"type":"integer","minimum":0,"maximum":7}
  • callout: {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"detail":{"type":"string","minLength":0,"maxLength":70}},"required":["label"]}
  • source: {"type":"string","minLength":0,"maxLength":90}
  • url: {"type":"string","minLength":0,"maxLength":70}
  • date: {"type":"string","minLength":0,"maxLength":24}
  • Values from 0 up (negatives are rejected). max sets the top of the scale; otherwise the largest value.
  • unit is appended (e.g. %, k) or prefixed for $, £ and €.

Style: colourway (ember, ink, marker), accent (optional pen hex), mark (underline or highlight), page (paper, cream, night), exit (drop or cut), duration (seconds).

Syncing to the narration

Give cues the second (from the scene start) at which the speaker starts each quote, and pace their speaking rate in words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise duration (and the mount's data-duration) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest as a still, readable hold.

Timing

8s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with exit: drop the window sinks off the desk over the last 0.45 s.

Example

``json { "title": "Applicants per job advert", "subtitle": "Average across trial firms, by month (illustrative)", "kind": "bars", "items": "[{\"label\":\"Sep\",\"value\":24},{\"label\":\"Oct\",\"value\":27},{\"label\":\"Nov\",\"value\":31},{\"label\":\"Dec\",\"value\":30},{\"label\":\"Jan\",\"value\":44},{\"label\":\"Feb\",\"value\":51}]", "unit": "", "decimals": 0, "highlight": 5, "callout": "{\"label\":\"Twice as many\",\"detail\":\"once adverts mentioned the shorter week\"}", "source": "Source: Ledgerline analysis of trial data (illustrative demo figures)", "url": "ledgerline.example/analysis/charts", "date": "Mar 16, 2026" } ``

FAQ

What can my AI agent change in Chart Callout?

Your agent fills the title, subtitle, kind, items, unit, max, decimals, highlight, callout, source, url and date 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 Receipts look.

Which aspect ratios does Chart Callout support?

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

How do I get Chart Callout?

Chart Callout is included in the Receipts pack, which is part of the AgentFrames All-access subscription along with 49 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 50

Get the full Receipts pack

Chart Callout comes as part of Receipts: 50 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) · 61s · made entirely with this pack

More in Receipts

See all 50 elements in Receipts →