
Bar Chart: Bars + Hover Tooltip
Compare a few values on a zero baseline; the cursor hovers the highlighted bar to read it out.
- 1:1native
- 16:9native
- 9:16native
- 4:5native
26 of 50 in the Clay & Ink: Explainer pack
Show a trend: the line draws across labelled gridlines and the latest value pulses at the end..
Watermarked preview. The Clay & Ink: Explainer pack includes all 50 elements, clean and editable, in every size.
Use the AgentFrames Clay & Ink: Explainer pack. Add a `lineChart` beat to plan.json on a `paper` canvas with slots `eyebrow`, `title`, `points`, `labels`, `min`, `max`, `unit` and `decimals` from my script. Then run validate → build → qa and show me qa/contact.jpg.The slots your agent fills from your script, through plan.json.
| Slot | Type | What it holds | Example |
|---|---|---|---|
eyebrow | string | eyebrow: {"type":"string","minLength":0,"maxLength":24}. | |
title | string | title: {"type":"string","minLength":0,"maxLength":60}. | Hours saved per week |
points | string | points: JSON string. {"type":"array","items":{"type":"number","minimum":-1000000000,"maximum":1000000000},"minItems":3,"maxItems":12}. | [0.5,1.2,1.8,2.1,3.4,4,5.2] |
labels | string | labels: JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":6},"maxItems":12}. | ["W1","W2","W3","W4","W5","W6","W7"] |
min | number | min: {"type":"number","minimum":-1000000000,"maximum":1000000000}. | 0 |
max | number | max: {"type":"number","minimum":-1000000000,"maximum":1000000000}. | 6 |
unit | string | unit: {"type":"string","minLength":0,"maxLength":4}. | h |
decimals | number | decimals: {"type":"integer","minimum":0,"maximum":2}. | 1 |
Show a trend: the line draws across labelled gridlines and the latest value pulses at the end.
Native 1920x1080, 9 s at 30 fps. Full-frame graphics block; use the variant that matches your project size. Motion: change: drawing left to right is time passing; attention: the end value is the point.
Set per-instance values in the host mount's data-variable-values (nested values are JSON strings). The block validates every value before it draws and throws a readable error naming the slot (see the console / data-cie-error on the root) instead of silently trimming or shrinking content.
eyebrow: {"type":"string","minLength":0,"maxLength":24}title: {"type":"string","minLength":0,"maxLength":60}points (required): JSON string; {"type":"array","items":{"type":"number","minimum":-1000000000,"maximum":1000000000},"minItems":3,"maxItems":12}labels: JSON string; {"type":"array","items":{"type":"string","minLength":1,"maxLength":6},"maxItems":12}min (required): {"type":"number","minimum":-1000000000,"maximum":1000000000}max (required): {"type":"number","minimum":-1000000000,"maximum":1000000000}unit: {"type":"string","minLength":0,"maxLength":4}decimals: {"type":"integer","minimum":0,"maximum":2}points: 3 to 12 values within min..max (the y scale; gridlines at min, middle and max). labels: none or one per point. Illustrative defaults.
Style (from brand.json): colourway (paper, dusk, night), accent (hex), brandName (wordmark text), mark (spark, dot, none, or an inline base64 image).
Content settles by 60% of the block (5.4 s) and holds for reading; the last 0.45 s draws out. To give longer copy more time, raise the block's data-duration and the mount's data-duration together; the engine's checks use the duration you set.
``html <div id="scene-1" data-composition-id="af-clay-ink-explainer-line-chart-16x9" data-composition-src="compositions/af-clay-ink-explainer-line-chart-16x9.html" data-start="0" data-duration="9" data-width="1920" data-height="1080" data-track-index="0" data-variable-values='{"eyebrow":"","title":"Hours saved per week","points":"[0.5,1.2,1.8,2.1,3.4,4,5.2]","labels":"[\"W1\",\"W2\",\"W3\",\"W4\",\"W5\",\"W6\",\"W7\"]","min":0,"max":6,"unit":"h","decimals":1}'></div> ``
Source: editable HTML; shared runtime assets/af-clay-ink-explainer/cie.js (component af-clay-ink-explainer-runtime). Fonts are OFL; logos and the spark are third-party marks (see TRADEMARKS.md).
Your agent fills the eyebrow, title, points, labels, min, max, unit and decimals 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 Clay & Ink: Explainer look.
Line Chart: Trend + End Value is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 9s.
Line Chart: Trend + End Value is included in the Clay & Ink: Explainer 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
Line Chart: Trend + End Value comes as part of Clay & Ink: Explainer: 50 elements, 12 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.

Compare a few values on a zero baseline; the cursor hovers the highlighted bar to read it out.

Lead with the numbers: one to three KPI cards whose values count up.

Split a whole into parts: shares count up in a stat row, then each segment sweeps in.

Make a ratio countable: a grid of tiles where the flagged ones flip to the accent.
Community: coming soon · Markdown version of this page