AI Video Editing Flows

Effect #026 in our rendered series

Bar chart race

Labelled bars grow and reorder as values change while the numbers count up, for data explainers.

Real footage

1920x1080 file, 3.4 MB

Rendered by us at 1920x1080 over a shot from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file.

Edit in Premiere, Resolve or After Effects? Jump to editor templates. Making many versions of the same video? Use the code route.

Make this effect with

Built and tested by us

Other ways, not tested by us

Use it in a real edit

The demo above already plays the composition over real footage: the clip is a muted <video> layer under the graphics (the file plate.mp4 in the code below). Replace that file with your own clip and render again. To use the graphics in an editor instead, switch the background off and render a transparent MOV (an H.264 MP4 cannot carry transparency):

Render the graphics alone, with transparency
npx hyperframes render . -o overlay.mov --format mov --fps 24 --variables '{"plate":false}'

The routes in full

With Claude Code: the prompt we used

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Make a 5 second bar chart race where five labelled bars grow and reorder as the values change, with the numbers counting up, for data explainers. Use clearly sample labels and values (Item A to Item E, sample values), never real data.

What changed since this prompt: the demo on this page is our second version, 5 seconds long, rebuilt on a shot from Tears of Steel with the same animation idea. The full composition below is the one we rendered; its build log lists every change.

Built by a Claude Code subagent (Sonnet) from the HyperFrames registry block bar-chart-race, HyperFrames 0.8.10. Claude Code then checked the composition with hyperframes lint and hyperframes check before we rendered it.

What we had to correct (10 notes from the build log):

  • 2026-11-05: held back after frame-by-frame QA on 5 Nov: rows overlapped when values were close because rank was a soft sigmoid, so bars sat on top of each other. Now five fixed slots (112 px pitch, 12 px gap), rank per data snapshot with stable tie-break, each bar slides to its new slot over 0.7 s.
  • `hyperframes check`: "Check failed". Items: "content_overlap div.lbl inside div.lbl 'Item A' (t=0.5-2.88s)", same for "Item C" and "Item B", and "#step 1.56:1 (need 3:1)" at five times.
  • #step is the large step number in the bottom right corner, set to 16 percent white on purpose as a quiet watermark (not text a viewer must read). By design.
  • The label overlap is real but transient: I extracted frames from hero.mp4 (640x360) at 0.8, 1.3, 2.0 and 2.6 s. At 0.8 s, "Item E" and "Item A" sit close but readable. At 2.6 s, while rows swap slots, "Item D" and "Item A" overlap and the value "67" is partly hidden under D's bar. Rows rest in distinct slots from about 1.3 s and 2.0 s, and the overlap lasts only while two rows slide past each other (0.7 s slide). Not fixed in this pass; inherent to any bar race that reorders rows. A future version could slide rows horizontally apart while they cross.
  • Problem: when two rows swapped slots they slid through each other and a value was half hidden (about 0.5 s, seen at 2.6 s).
  • Change: a row that changes slot now fades out in about 0.1 s, moves while it is hidden, and fades back in at the new slot (opacity ramps at 12 percent and 88 percent of a 0.6 s move). Two rows are never visible at the same position. The move ends 0.3 s before each data snapshot, so the visible order matches the values. The sample values now change the order by one or two rows at a time (D/E swap, then A passes B and D), so at least two rows stay solid during every swap. The step number is now 40 percent white so it passes the contrast check.
  • Gates: lint 0 errors 0 warnings. hyperframes check "Check passed" (contrast 64/64 text checks pass; the earlier "content_overlap div.lbl" lines and the "#step 1.56:1" lines are gone). Flash check pass (hero, tile and all three variations).
  • Looked at by eye, frame by frame at 12 frames a second across 1.1 to 1.95 s, 2.45 to 3.3 s and 3.55 to 4.4 s from the 1920 px master: no overlapping rows, no half-hidden value. A simulation of the same position and fade functions found 2 frames (4.17 and 4.21 s) where a row that is still under 30 percent visible sits one slot out of value order; they are faint and not readable as an error.
  • Cost: for about 0.3 s per swap the moving rows are absent, so the chart briefly shows fewer bars. That is a deliberate choice over overlap.
  • Every number on screen comes from our own measured test results (labelled Measured by us, 2026); frames and the poster were checked by eye.

With HyperFrames code

Rendered and tested by us in HyperFrames 0.8.10 on Nov 7, 2026.

Install the block and render
npx hyperframes add bar-chart-race
npx hyperframes render . -o out.mp4 --fps 24

Settings you can change without rebuilding (pass them with --variables):

SettingNameTypeDefault
Bar colour (single colour mode)accentcolor#2f6bff
Bar colourscolorsenumsingle
Number formatformatenumplain
Show backgroundplatebooleantrue
Our full composition (index.html, 10 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[
  {"id":"accent","type":"color","label":"Bar colour (single colour mode)","default":"#2f6bff"},
  {"id":"colors","type":"enum","label":"Bar colours","default":"single","options":[{"value":"single","label":"One accent colour"},{"value":"multi","label":"A colour per bar"}]},
  {"id":"format","type":"enum","label":"Number format","default":"plain","options":[{"value":"plain","label":"Seconds, one decimal"},{"value":"percent","label":"Share of the slowest run"},{"value":"thousands","label":"Minutes, two decimals"}]},
  {"id":"plate","type":"boolean","label":"Show background","default":true}
]'>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&display=block" rel="stylesheet" />
    <script src="gsap.min.js"></script>
    <style>
      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
      #root { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent; }
      #plate { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 40%, #1b2335 0%, #0b0d12 70%); overflow: hidden; }
      #world { position: absolute; left: -200px; top: -120px; width: 2400px; height: 1320px; }
      .blob { position: absolute; border-radius: 50%; filter: blur(60px); }
      .b1 { width: 760px; height: 760px; left: 180px; top: 260px; background: #ff5a1f; opacity: 0.3; }
      .b2 { width: 900px; height: 900px; left: 1200px; top: 80px; background: #2f6bff; opacity: 0.42; }
      .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 120px 120px; }
      #chart { position: absolute; inset: 0; font-family: "Montserrat", sans-serif; color: #fff; }
      #title { position: absolute; left: 230px; top: 166px; font-weight: 800; font-size: 44px; letter-spacing: -0.01em; }
      #sub { position: absolute; left: 230px; top: 232px; font-weight: 600; font-size: 28px; color: #aab3c5; }
      #tag { position: absolute; right: 230px; top: 174px; }
      #step { position: absolute; right: 230px; bottom: 130px; font-weight: 800; font-size: 64px; color: rgba(255,255,255,0.55); line-height: 1; }
      .row { position: absolute; left: 230px; width: 1460px; height: 100px; top: 0; }
      .lbl { position: absolute; left: 0; top: 0; width: 470px; height: 100px; display: flex; align-items: center; justify-content: flex-end; font-weight: 600; font-size: 32px; white-space: nowrap; color: #e7eaf0; }
      .barf { position: absolute; left: 500px; top: 10px; height: 80px; width: 10px; border-radius: 0 12px 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
      .val { position: absolute; left: 520px; top: 0; height: 100px; display: flex; align-items: center; font-weight: 800; font-size: 40px; white-space: nowrap; }
    
      /* footage plate (v2): real footage, pinned, no generated blobs */
      #plate { background: #000 !important; }
      #world { left: 0 !important; top: 0 !important; width: 1920px !important; height: 1080px !important; transform: none !important; }
      #world .blob, #world .grid { display: none !important; }
      #pv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
      #scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
    
      /* data family v2: dashboard window over dimmed footage */
      #scrim { background: rgba(4,6,12,0.58) !important; }
      .win { position: absolute; border-radius: 26px; background: rgba(11,15,25,0.94); border: 2px solid rgba(255,255,255,0.16); box-shadow: 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; font-family: "Inter", "Montserrat", sans-serif; }
      .win .bar { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: rgba(255,255,255,0.06); border-bottom: 2px solid rgba(255,255,255,0.10); display: flex; align-items: center; padding-left: 28px; gap: 12px; color: #aab3c5; font-size: 24px; font-weight: 500; }
      .win .bar i { width: 16px; height: 16px; border-radius: 50%; background: #ff5f57; display: block; }
      .win .bar i:nth-child(2) { background: #febc2e; } .win .bar i:nth-child(3) { background: #28c840; }
      .win .bar b { margin-left: 18px; font-weight: 500; }
      .chip { position: absolute; font-family: "Inter", "Montserrat", sans-serif; font-weight: 700; font-size: 26px; padding: 8px 20px; border-radius: 999px; background: rgba(255,210,63,0.14); border: 2px solid #ffd23f; color: #ffd23f; white-space: nowrap; }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="5" data-fps="24" data-width="1920" data-height="1080">
      <div id="plate"><div id="world"><video id="pv" src="plate.mp4" muted playsinline data-start="0" data-duration="5"></video><div id="scrim"></div><div class="blob b1" id="b1"></div><div class="blob b2" id="b2"></div><div class="grid"></div></div></div>
      <div class="win" style="left:150px;top:90px;width:1620px;height:900px"><div class="bar"><i></i><i></i><i></i><b>Agentic Video Editing / test results / run time</b></div></div>
      <div id="chart">
        <div id="title">Run time per tool, one source clip at a time</div>
        <div id="sub">Median of 3 timed runs, seconds. Shorter is faster.</div>
        <div id="tag" class="chip">Measured by us, 2026</div>
        <div id="step">Clip A</div>
      </div>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        if (!v.plate) document.getElementById("plate").style.display = "none";
        const names = ["Transcribe, base.en", "Transcribe, small.en", "Silence cut, auto-editor", "Caption burn-in, FFmpeg", "Podcast to vertical short"];
        const multi = ["#2f6bff", "#ff5a1f", "#12b886", "#ffd23f", "#c15cff"];
        const snaps = [
          { t: 0.25, v: [0, 0, 0, 0, 0] },
          { t: 1.25, v: [7.83, 29.74, 26.44, 29.05, 21.88] },
          { t: 2.45, v: [40.51, 34.71, 38.23, 35.2, 28.41] },
          { t: 3.65, v: [19.84, 35.4, 26.08, 36.31, 24.63] },
          { t: 4.55, v: [19.84, 35.4, 26.08, 36.31, 24.63] },
        ];
        const ROW = 112, TOP = 330, MAXW = 760, VMAX = 45;
        const chart = document.getElementById("chart");
        const rows = names.map((n, i) => {
          const r = document.createElement("div"); r.className = "row";
          const l = document.createElement("div"); l.className = "lbl"; l.textContent = n;
          const b = document.createElement("div"); b.className = "barf"; b.style.background = v.colors === "multi" ? multi[i] : v.accent;
          const x = document.createElement("div"); x.className = "val";
          r.appendChild(l); r.appendChild(b); r.appendChild(x); chart.appendChild(r);
          return { r, b, x };
        });
        function fmt(val) {
          if (v.format === "percent") return Math.round(val / 40.51 * 100) + "%";
          if (v.format === "thousands") return (val / 60).toFixed(2) + " min";
          return val.toFixed(1) + " s";
        }
        function vals(t) {
          if (t <= snaps[0].t) return snaps[0].v.slice();
          for (let s = 1; s < snaps.length; s++) {
            if (t <= snaps[s].t) {
              const a = snaps[s - 1], b = snaps[s];
              let u = (t - a.t) / (b.t - a.t);
              u = u * u * (3 - 2 * u);
              return a.v.map((av, i) => av + (b.v[i] - av) * u);
            }
          }
          return snaps[snaps.length - 1].v.slice();
        }
        // five fixed slots; rank per snapshot, ties broken by stable index order
        const ranks = snaps.map((sn) => sn.v.map((x, i) => sn.v.reduce((c, y, j) => c + ((y > x || (y === x && j < i)) ? 1 : 0), 0)));
        ranks[0] = ranks[1].slice(); // start in the first real order, so nothing moves while the bars first grow
        function slotAt(i, t) {
          let pos = ranks[0][i];
          for (let s = 1; s < snaps.length; s++) {
            const st = snaps[s].t - 0.9;
            const u = Math.max(0, Math.min(1, (t - st) / 0.6));
            const e = u * u * (3 - 2 * u);
            if (t < st) break;
            pos = ranks[s - 1][i] + (ranks[s][i] - ranks[s - 1][i]) * e;
          }
          return pos;
        }
        // A row that changes slot fades out, slides while hidden and fades back in, so two rows never overlap on screen.
        function fadeAt(i, t) {
          for (let s = 1; s < snaps.length; s++) {
            if (ranks[s][i] === ranks[s - 1][i]) continue;
            const u = (t - (snaps[s].t - 0.9)) / 0.6;
            if (u <= 0 || u >= 1) continue;
            const e = u * u * (3 - 2 * u);
            if (e < 0.12) { const k = e / 0.12; return 1 - k * k * (3 - 2 * k); }
            if (e > 0.88) { const k = (e - 0.88) / 0.12; return k * k * (3 - 2 * k); }
            return 0;
          }
          return 1;
        }
        function render(t) {
          const vs = vals(t);
          vs.forEach((vi, i) => {
            const row = rows[i];
            row.r.style.top = (TOP + slotAt(i, t) * ROW) + "px";
            row.r.style.opacity = String(fadeAt(i, t));
            const w = 10 + (vi / VMAX) * MAXW;
            row.b.style.width = w + "px";
            row.x.style.left = (520 + w) + "px";
            row.x.textContent = fmt(vi);
          });
          const stepNo = t < 1.25 ? "Clip A" : t < 2.45 ? "Clip B" : "Clip C";
          document.getElementById("step").textContent = stepNo;
        }
        const tl = gsap.timeline({ paused: true, onUpdate: function () { render(tl.time()); } });
        tl.fromTo(".win", { opacity: 0 }, { opacity: 1, duration: 0.3, ease: "power2.out" }, 0);
        tl.to(".win", { opacity: 0, duration: 0.3, ease: "power2.in" }, 4.7);
        tl.fromTo("#chart", { opacity: 0 }, { opacity: 1, duration: 0.3, ease: "power2.out" }, 0);
        tl.fromTo("#title", { x: -40, opacity: 0 }, { x: 0, opacity: 1, duration: 0.5, ease: "power3.out" }, 0.2);
        tl.fromTo("#tag", { scale: 0.6, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.4, ease: "back.out(1.6)" }, 0.4);
        tl.to("#chart", { opacity: 0, duration: 0.3, ease: "power2.in" }, 4.7);
        tl.to({}, { duration: 5 }, 0);
        render(0);
        window.__timelines["main"] = tl;
      })();
    </script>
  </body>
</html>

With Remotion

We have not built this effect in Remotion. If you use it, read its licence first: Individuals (personal or commercial use), organisations or teams with a total headcount of 3 or less, non-profits, and anyone evaluating Remotion before commercial use. A company does not qualify merely because it is unprofitable. Everyone not eligible for the Free License needs a Company License. Remotion licence FAQ, checked Nov 4, 2026.

In your editor: Premiere, Resolve, After Effects, CapCut

We have not reviewed an editor template for this effect yet.

Variations

The same composition rendered again with different settings. Nothing was rebuilt.

Subtle: single blue colour, plain numbers{"colors":"single","accent":"#2f6bff","format":"plain"}
Bold: a colour per bar{"colors":"multi","format":"plain"}
Share of the slowest run, in percent{"colors":"multi","format":"percent"}

Spec and test details

Engine
HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
Length and frame rate
5 seconds at 24 fps, rendered at 1920x1080
Video files on this page
H.264: 1920x1080 for Expand (3523.2 KB), 1280x720 in the page (1115.5 KB), 640x360 in galleries (271.4 KB), no audio
Picture check
The 1080p file scores VMAF 97.59 against our render master and keeps 100% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
overgrown brick house with a lit room, a small figure standing, wide establishing (Tears of Steel, 3:03)
Tested in editors
None yet
Flash check
Passed: at most 0 general and 0 red flashes in any second. automated approximation of WCAG 2.3.1 on a 96x54 grid, whole loop including the restart; not a certification.
Licence
Composition adapted by us from the HyperFrames registry (Apache-2.0); text fonts from Google Fonts under the SIL Open Font License.
Last tested
Nov 7, 2026
Machine
Laptop: AMD Ryzen 7 7735U (8 cores, 16 threads), 31 GB RAM, Windows 11 Home; CPU rendering
Technical details: render times and file sizes
  • Render of the 5-second master: 50.1 s (2 render workers, on the laptop above).
  • full.mp4: 3523.2 KB
  • hero.mp4: 1115.5 KB
  • hero.webp: 55.9 KB
  • tile.mp4: 271.4 KB
  • tile.webp: 17.8 KB
  • Variation "subtle": rendered in 37.2 s, 271.9 KB
  • Variation "bold": rendered in 31.6 s, 273.4 KB
  • Variation "format": rendered in 33.6 s, 271.2 KB

Credits

  • Built from the HyperFrames registry block bar-chart-race by HeyGen (Apache-2.0), adapted by us.
  • Fonts from Google Fonts, under the SIL Open Font License.
  • Footage: Tears of Steel, (c) Blender Foundation, mango.blender.org, licensed CC-BY 3.0. We cropped the shots to 16:9 and laid our graphics over them.
  • Editor templates and other routes on this page belong to their creators, who are credited on each card.

Related effects and jobs

Page checked on Nov 4, 2026.