
Bar Chart Animation
A dark benchmark chart draws its axes and gridlines, then four grey bars (Model A to Model D) grow in a stagger with values counting up to 57.4%. The Vector bar grows last, taller and in violet-blue, counting to 71.8% with a +14.4 pts chip, before the lockup.
Motionboard shot: Benchmark Bars
Seen in real launch films
How to make a Bar Chart Animation with Claude Code or Codex
Copy the recipe above and paste it into Claude Code or Codex. The agent installs the skill and builds the shot.
npx skills add krisyangdev/motionboardHow it's built
Build the chart as five bars on one baseline, each driven by one proxy tween. Run u from 0 to 1, take p = power3.out(u), set the bar height to p × value × 7.3px and the label to p × value, so the number rides the bar top. The title is 52px; the plot is 1380px wide with the baseline at y=920. Draw the baseline over 0.4–1.4s and the 20%, 40% and 60% gridlines over 0.55–1.65s with expo.out, and stop the gridlines at 60% so none crosses the big figure.
Grow the four grey bars (Model A to Model D, 180px wide) from 1.30s, 0.25s apart, 1.25s each: 41.2%, 48.7%, 52.9% and 57.4%, with 56px values. Start the Vector bar at 3.05s while Model D is still finishing and give it 1.9s to reach 71.8% (524px tall) in #7b8cff with a 56px blurred glow behind it. Its value is 108px. At 4.75s the value pops to 1.07 and settles, a light band sweeps up the bar at 4.85s and a chip, +14.4 pts over the next best, rises at 5.0s. Hold until 7.0s, then clear the chart over 0.55s before the lockup.
Press the copy button to send this recipe to Claude Code or Codex, or install the skill once with npx skills add krisyangdev/motionboard. The agent builds the axes, the bars and the counters. Replace the four competitors and the product's value with your own results and keep each bar height equal to value × 7.3px. Start the lockup at 7.7s with the mark, the word Vector and a tagline. Render an MP4 with HyperFrames, or port the GSAP timeline to your website.
Full recipe
Why it works
The chart is a ranking: four grey bars set the field and the brand bar arrives last, in colour, taller and with the largest number, so the eye reads the result before any label. Bar height and counted value come from the same eased progress, so each number rides the top of its bar all the way up and stops on the frame the bar stops. The four competitors start 0.25s apart on power3.out, a quick rise with a soft landing, and the brand bar gets a longer 1.9s run so its finish is the last thing to arrive. The axes draw first, so the bars grow into a frame the viewer already understands. Gridlines stop at 60% so no line cuts through the 108px figure, and the competitor values carry a dark halo that hides the gridline behind them. After the count lands, a small pop, one light sweep up the bar and a chip with the margin (+14.4 pts) give the result a reason to hold for about 2s. There is one accent colour, violet-blue #7b8cff, used only on the brand bar, its glow, its label and the chip.
Spec
- Timing
- Film 11s. Title rises 0.12–1.0s and subtitle 0.3–1.2s; baseline draws 0.4–1.4s, the 20%, 40% and 60% gridlines 0.55–1.65s (0.9s each, 0.1s apart); y labels fade in from 0.55s (0.7s each, 0.08s apart); Model A grows 1.30–2.55s, B 1.55–2.8s, C 1.80–3.05s, D 2.05–3.3s (1.25s each); Vector grows 3.05–4.95s (1.9s); Vector glow fades in 3.4–4.7s; value pop 4.75–5.47s; light sweep 4.85–5.8s; chip rises 5.0–5.8s; hold until 7.0s; chart clears 7.0–7.55s; mark draws 7.7–8.45s, wordmark rises 7.8–8.6s, tagline 8.0–8.75s and holds to the end
- Easing
- Each bar and its counted value share one
power3.outprogress; title, gridlines, y labels, model labels, chip, wordmark and tagline use expo.out; the value pop is power2.out up and power2.inOut back; the light sweep is power2.inOut; the glow fades in with power2.out and eases down with sine.inOut; the chart exit is power2.in; the mark strokes use power2.out; value fade-ins are 0.35s power2.out - Camera
- Locked frame, no camera move. The chart fills the frame: a 1380px plot from x=270 to x=1650 with the baseline at y=920, and the title at the top left (x=190)
- Subject
- Title 52px and subtitle 28px; baseline 3px at 32% white, gridlines 2px at 9% white at 20%, 40% and 60% (7.3px per percentage point, so y=773, 627 and 481), no 80% line; y labels 26px; five bars 180px wide on a 276px pitch (left edges 317, 593, 869, 1145, 1421) with a 14px top radius. Competitor bars are a #4b4b56→#30303a gradient and grow to 300.8px (41.2%), 355.5px (48.7%), 386.2px (52.9%) and 419.0px (57.4%); the Vector bar is a #a9b4ff→#7b8cff→#4f5bf0 gradient growing to 524.1px (71.8%) with a 56px-blurred glow behind it. Competitor values 56px weight 700 sit 14px above the bar top; the Vector value is 108px weight 800, 18px above. Model labels 30px (Model A to Model D, invented names), Vector label 40px at y=944. Chip 450x46px at (1286, 214), 28px, reading +14.4 pts over the next best. Lockup: a 150px mark (a V in ink with a smaller violet-blue V inside it), the word Vector at 150px weight 700 and a 38px tagline
- Sync
- The value label rides the bar top and both finish on the same frame; Model D finishes at 3.3s and the Vector bar has already started at 3.05s, so the last grey bar and the first coloured one overlap; the pop at 4.75s lands 0.2s before the bar finishes, the light sweep starts at 4.85s, and the chip arrives at 5.0s, just after the number settles at 4.95s; the glow reaches full strength about 0.25s before the count ends and eases down while the chip is on screen; the chart is fully clear at 7.55s, before the mark starts at 7.7s
- Style
- Background
#09090b, one accent violet-blue#7b8cff(light tint #a9b4ff on the Vector label and chip text); grey bars and text in neutral greys (#9a9aa6 labels, #d2d2da competitor values); Inter throughout, title weight 700; a 120px grid at 2.8% opacity masked to the centre, a soft accent glow behind the plot, grain at 7% opacity and a vignette reaching 60% black at the edges
Prompt
Build a 11-second, 1920x1080, 30 fps dark product film called Bar Chart Animation for a fictional product, Vector (a coding agent). Background #09090b, one accent violet-blue #7b8cff, font Inter, text #f4f4f5. Use one paused GSAP timeline with no CSS animations. Put all hidden starting states in CSS (opacity 0, bar height 0) so frame 0 is clean. The frame is a benchmark chart, locked, no camera move. Title Tasks solved, SWE-style benchmark at 52px weight 700, left x=190, y=62; subtitle Share of tasks resolved · higher is better at 28px, #9a9aa6. Plot 1380px wide from x=270 to x=1650, baseline at y=920, 7.3px per percentage point. Draw a 3px baseline (white at 32%) and 2px gridlines (white at 9%) at 20%, 40% and 60% (y=773, 627, 481), no 80% line, with 26px y labels 0, 20%, 40%, 60% right-aligned at x=252. Five bars 180px wide on a 276px pitch, left edges 317, 593, 869, 1145, 1421, top radius 14px. Four invented competitors, never real model names: Model A 41.2%, Model B 48.7%, Model C 52.9%, Model D 57.4%, as grey gradient bars (#4b4b56 to #30303a). The fifth bar is Vector at 71.8% in a gradient #a9b4ff, #7b8cff at 38%, #4f5bf0, with a blurred accent glow (56px blur) behind it. Each bar has a value label 14px above its top (56px, weight 700, #d2d2da, tabular numbers, with a dark text-shadow halo so a gridline never strikes through it); the Vector value is 108px weight 800, #f4f4f5, 18px above its bar. Model labels at y=944, 30px, #9a9aa6; the Vector label is 40px weight 700 in #a9b4ff. Drive each bar with one proxy tween u from 0 to 1 with ease none, and in its onUpdate compute p = power3.out(u), then set the bar height to p x value x 7.3px and the label text to p x value with one decimal and a % sign, so the number rides the bar top. Timeline: title rises 0.12–1.0s and subtitle 0.3–1.2s (expo.out, from 22px and 16px below); baseline draws left to right 0.4–1.4s and the gridlines 0.55–1.65s, 0.9s each, 0.1s apart (expo.out, width 0 to 1380px); y labels fade in from 0.55s, 0.7s each, 0.08s apart. Model A grows 1.30–2.55s, B 1.55–2.8s, C 1.80–3.05s, D 2.05–3.3s, each 1.25s, each label and value fading in over 0.35s as its bar starts. Vector grows last, 3.05–4.95s (1.9s), glow fading to 42% over 3.4–4.7s. At 4.75s the Vector value pops to scale 1.07 over 0.22s and settles over 0.5s; at 4.85s a white-to-transparent sheen band sweeps up the bar over 0.95s (power2.inOut) and fades out. At 5.0s a chip, 450x46px at (1286, 214), 28px, accent tint with a 1px accent border, reading +14.4 pts over the next best, rises in over 0.8s. Hold until 7.0s. The whole chart fades and lifts 34px over 7.0–7.55s (power2.in). Lockup from 7.7s: a 150px mark made of a V in #f4f4f5 (stroke 11) with a smaller accent V inside it (stroke 7), drawn with stroke-dashoffset over 0.7s; the word Vector at 150px weight 700 rising through a mask 7.8–8.6s; the tagline Ship the fix, not the ticket. at 38px fading up 8.0–8.75s; hold to 11s. Finish with a faint 120px grid at 2.8% opacity, a soft radial accent glow behind the plot, a vignette to 60% black and 7% overlay grain (feTurbulence, seed 7).
People describe it as
- Grey bars grow one by one and then the product's bar rises past them
- Each number counts up while its bar grows
- The last bar is the tallest and lights up in the brand colour
Often confused with
- Count Up AnimationCount Up Animation rolls one big figure digit by digit and uses it to drive a dashboard; here five bars grow side by side, each with its own counted value, and the product's bar finishes last and tallest.
- Control-Driven ChangeControl-driven Change moves a control and the whole page changes on the same frame; here nothing is interactive and the chart builds itself in a fixed order, ending on the product's bar.
FAQ
What is an animated bar chart in a product film?
It is a benchmark or comparison chart whose bars grow from a baseline one after another, each with its value counting up. The competitors come first in grey and the product's bar arrives last, in the brand colour and taller, so the viewer sees the result before reading the labels.
How do you keep the numbers in step with the bars?
Drive each bar and its label from one eased progress. Take p = power3.out(u) from a proxy tween, set the height to p × value × 7.3px and the label to p × value, so the number rides the bar top and both stop on the same frame. Start the brand bar 1.0s after the last competitor starts and give it 1.9s instead of 1.25s.
Is it free to use?
Yes. Motionboard is free and MIT licensed, so you can use and modify the recipes and the films they produce in personal and commercial projects. The licence asks only that copies of the recipe files keep the copyright notice.









