Skip to content
animorio
IT
All components

Sprint burndown chart

Charts, SVG, HoverGSAP, CSS onlyMediumCompressed weight: Demo 6.3 KBGSAP 28 KBFreeDownload the zip

A sprint’s burndown in a white card: the dashed ideal line, the points left day by day and a forecast starting from the day you read. Going back, the line shortens, the numbers are that day’s and the forecast swings on a spring towards the date it then seemed you would finish.

The code

A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.

<!doctype html>
<!--
  "Sprint burndown chart" from Animorio · https://animorio.com
  License: free on your own sites and your clients’ sites, paid work included.
  Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Sprint burndown chart</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage">
    <!-- a sprint burndown: the ideal line, the points left day by day, and a forecast that swings on a spring
         from whichever day you read, so you can see how the finish date looked back then -->
    <section class="bd" data-bd aria-label="Sprint burndown">
      <header class="bd__head">
        <span class="bd__name">Sprint 24</span>
        <span class="bd__roll bd__status" aria-live="polite"><span data-status></span></span>
      </header>
      <div class="bd__read">
        <span class="bd__left"><span class="bd__roll bd__num"><b data-left></b></span><i>pts left</i></span>
        <span class="bd__side">
          <span class="bd__roll"><span data-when></span></span>
          <span class="bd__roll bd__done"><span data-done></span></span>
        </span>
      </div>
      <div class="bd__chart" data-chart tabindex="0" role="slider" aria-label="Day of the sprint" aria-valuemin="1">
        <svg data-svg aria-hidden="true">
          <defs><clipPath id="bd-seen"><rect data-clip x="0" y="-10" width="0" height="2000"/></clipPath></defs>
          <g class="bd__grid" data-grid></g>
          <line class="bd__end" data-end></line>
          <text class="bd__endtext" data-endtext>Sprint ends</text>
          <path class="bd__ideal" data-ideal></path>
          <path class="bd__faint" data-faint></path>
          <g clip-path="url(#bd-seen)">
            <path class="bd__area" data-area></path>
            <path class="bd__line" data-line></path>
            <g class="bd__dots" data-dots></g>
          </g>
          <text class="bd__scope" data-scope></text>
          <line class="bd__proj" data-proj></line>
          <path class="bd__flag" data-flag d="M0,-6 L5,0 L0,6 L-5,0 Z"></path>
          <line class="bd__scrub" data-scrub></line>
          <circle class="bd__sel" data-sel r="5.500"></circle>
        </svg>
      </div>
    </section>

    <svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.

15 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

Or ask your AI assistant for it

With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:

Take “Sprint burndown chart” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On white, a card: “Sprint 24”, the status pill, the points left in large type and on the right the day being read and the forecast date. In the chart the ten days of the sprint with initials below, the dashed line of the end, the grey ideal line and the blue line of points left, which first draws itself up to today; on the fifth day it climbs, with the note “+8 scope”. From today’s point a dashed line sets off, the forecast: it runs down to zero at the average speed of the last three days and ends in a diamond on the axis; it comes in swinging like a ruler laid down. Hover a past day (or use the arrows, or a finger) and the blue line shortens to there, leaving the rest faint, the points and the date roll to that day’s and the forecast swings on a spring to where it pointed then: on day three it ended four days late, in red; yesterday two, in amber; today it is “On track”, in green. Leave the chart and it returns to today.

How it works

The forecast is a division

For each day: the points burned over the last three days, divided by three, give the speed; the points left divided by the speed give the days to go. Nothing is typed by hand: change the data and the whole story changes.

The finish day is a spring

The forecast is a line from the point being read to the finish day on the axis. That day chases the computed value on a lightly damped spring on GSAP’s ticker: the line has a pivot and a free end, and swings like a rod.

The past as it looked

The solid blue line sits inside a clipPath as wide as the day being read; under it lies a faint, whole copy. Going back, you see what was known then and what happened after.

Readable without a pointer

The chart is a slider: it takes focus, answers the arrows, Home and End, and says day, points left and status in words in aria-valuetext.

Values to change

NameFileDefaultWhat it changes
ACCENTscript.js#2f5bffThe colour of the points-left line.
TODAYscript.js7Which day of the sprint it is (2 to 9): the line reaches that far.
WINDOWscript.js3How many days the speed behind the forecast is averaged over.
SWINGscript.js1How much the forecast swings when the day changes: 0.3 = stiff, 2 = very springy.
LOOPscript.jstrueLeft alone, the demo’s pointer walks back a few days and then lets go.

Try them in the Playground

When to use it

In the dashboard of a project tool, on a sprint’s page, in a team’s weekly report. The same sprung forecast suits anything where a trend leads to a date: a budget being spent, stock running down, a fundraiser nearing its goal.

On phones

The same card, as wide as the screen: a finger on the chart picks the day, which stays read until another is touched. The card also looks at the window’s height and the chart shortens to fit.

With reduced motion

The line is already drawn, the forecast goes straight to its place without swinging and numbers and labels change without rolling. The demo does not move by itself.

Pitfalls

  • Sprint, points and dates are made up. A real chart takes the points closed each day from the team’s tool and feeds them to the same formula.
  • Work added mid-sprint makes the line climb: it must not count as negative speed, or that day’s forecast turns absurd. Here points burned and points added are two separate lists.
  • A forecast ending very late would leave the chart: the finish day is capped at the right edge, and the status still gives the real days.
  • With a finger, pointerleave fires as soon as it lifts: no return to today there, or a past day could never be read on a phone.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 6.3 KB; the libraries: GSAP 28 KB.

Testing

Tested on 20 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.

All components