26 of 50 in the Afterglow pack

Line Chart: The Orb Traces the Trend: Stat & chart element for AI agents

A trend over 3–8 points: the baseline draws, the line draws left to right with the orb riding its head, each point lights as it is reached, and the final value rises..

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

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

Paste this into Claude Code

Use the AgentFrames Afterglow pack. Add a `lineChart` beat to plan.json on a `k` canvas with slots `title`, `points`, `min`, `max`, `unit`, `prefix`, `decimals` and `note` 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":44}.Minutes practised per week
pointsstringpoints: JSON string. {"type":"array","minItems":3,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":8},"value":{"type":"number","minimum":-1000000000,"maximum":1000000000}},"required":["label","value"]}}.[{"label":"W1","value":20},{"label":"W2","value":35},{"label":"W3","value":30},{"label":"W4","value":60},{"label":"W5","value":85},{"label":"W6","value":110}]
minnumbermin: {"type":"number","minimum":-1000000000,"maximum":1000000000}.0
maxnumbermax: {"type":"number","minimum":-1000000000,"maximum":1000000000}.
unitstringunit: {"type":"string","minLength":1,"maxLength":6}. min
prefixstringprefix: {"type":"string","minLength":1,"maxLength":2}.
decimalsnumberdecimals: {"type":"integer","minimum":0,"maximum":2}.0
notestringnote: {"type":"string","minLength":1,"maxLength":40}.Illustrative figures

What your agent can change

Line Chart: The Orb Traces the Trend. Native 1920×1080, 8s at 30fps.

A trend over 3–8 points: the baseline draws, the line draws left to right with the orb riding its head, each point lights as it is reached, and the final value rises.

Motion. Baseline draws; line draws (ease in-out) with the orb at its tip; point rings light; the end value rises. Why it moves. change: the line drawing is the trend happening.

Mount

Copy every manifest file into your project (plus af-afterglow-runtime). Mount with a unique host id, data-composition-id="af-afterglow-line-chart-16x9", data-composition-src="compositions/af-afterglow-line-chart-16x9.html", data-duration="8" 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":44}
  • points (required): {"type":"array","minItems":3,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":8},"value":{"type":"number","minimum":-1000000000,"maximum":1000000000}},"required":["label","value"]}}
  • min: {"type":"number","minimum":-1000000000,"maximum":1000000000}
  • max: {"type":"number","minimum":-1000000000,"maximum":1000000000}
  • unit: {"type":"string","minLength":1,"maxLength":6}
  • prefix: {"type":"string","minLength":1,"maxLength":2}
  • decimals: {"type":"integer","minimum":0,"maximum":2}
  • note: {"type":"string","minLength":1,"maxLength":40}
  • min defaults to 0 and max to the largest value.

Style: colourway (rose, ultraviolet, ember), accent (optional hex), footer, enter / exit (glow or cut).

Timing

8s. Everything has landed by 4.8s (60%), then the scene holds for reading (bubbles slow to a residual drift, the glow breathes, text stays still) and glows out over the last 0.55 s (elements lift away, the orb fills the frame).

Example

``json { "title": "Minutes practised per week", "points": "[{\"label\":\"W1\",\"value\":20},{\"label\":\"W2\",\"value\":35},{\"label\":\"W3\",\"value\":30},{\"label\":\"W4\",\"value\":60},{\"label\":\"W5\",\"value\":85},{\"label\":\"W6\",\"value\":110}]", "min": 0, "unit": " min", "decimals": 0, "note": "Illustrative figures" } ``

FAQ

What can my AI agent change in Line Chart: The Orb Traces the Trend?

Your agent fills the title, points, min, max, unit, prefix, decimals and note 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 Afterglow look.

Which aspect ratios does Line Chart: The Orb Traces the Trend support?

Line Chart: The Orb Traces the Trend is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

How do I get Line Chart: The Orb Traces the Trend?

Line Chart: The Orb Traces the Trend is included in the Afterglow 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 Afterglow pack

Line Chart: The Orb Traces the Trend comes as part of Afterglow: 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) · 60s · made entirely with this pack

More in Afterglow

See all 50 elements in Afterglow →