
The colour columns
Hover, SVG
How one post did over a week. On top the reach, counting up to 18,420 accounts. Below, the seven-day line of the chosen reaction and the four reactions as bars: Likes, Comments, Shares, Saves. Move from one to another and the line is not redrawn: each of its points slides to the new height, one after the other, and it changes colour; the label of the best day follows.
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>
<!--
"Post insights" 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>Post insights</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">
<!-- the insights of one social post: the reach counts up, four reactions as bars, and a seven-day line
that changes shape as you move from one reaction to another -->
<section class="pi" data-pi aria-label="Post insights">
<header class="pi__head">
<span class="pi__thumb" aria-hidden="true"></span>
<div class="pi__meta">
<h2 class="pi__title">Studio tour</h2>
<p class="pi__sub">Video · posted 7 days ago</p>
</div>
<div class="pi__reach">
<output class="pi__big" data-reach>0</output>
<span class="pi__small">accounts reached</span>
</div>
</header>
<div class="pi__chart">
<svg viewBox="0 0 300 84" preserveAspectRatio="none" aria-hidden="true">
<defs><linearGradient id="pi-fill" x1="0" y1="0" x2="0" y2="1"><stop offset="0" class="pi__stop-a"></stop><stop offset="1" class="pi__stop-b"></stop></linearGradient></defs>
<path class="pi__area" data-area></path>
<path class="pi__line" data-line></path>
</svg>
<span class="pi__peak" data-peak></span>
<div class="pi__days" aria-hidden="true"><span>Sat</span><span>Sun</span><span>Mon</span><span>Tue</span><span>Wed</span><span>Thu</span><span>Fri</span></div>
</div>
<div class="pi__rows" data-rows role="radiogroup" aria-label="Reaction"></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>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.
20 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Post insights” from Animorio and fit it into my siteThe path is worked out every frame from seven heights between 0 and 1, with a Catmull-Rom spline. Changing reaction means taking those seven heights to the new values: the shape changes with no jump.
Each height has its own tween, three hundredths of a second later than the one before, on an elastic: the line moves like a rope shaken from the left.
Likes are in the hundreds and shares in the tens: each series is divided by its maximum, so all use the chart’s height; the real value is given by the peak label.
The four reactions are a radiogroup: with a mouse just hover, with a finger tap, with the keyboard use the arrows.
| Name | File | Default | What it changes |
|---|---|---|---|
REACH | script.js | 18420 | How many accounts the post reached: the big number that counts at the start. |
MORPH | script.js | 0.8 | How many seconds the line takes to change shape from one reaction to another. |
SPRING | script.js | 1 | How elastic the line is when it changes: 0.3 = stiff, 2 = very elastic. |
LOOP | script.js | true | Left alone, the demo’s pointer moves over the four reactions. |
On a post’s page inside a social tool, in the weekly summary of a marketing dashboard, on a creator’s profile. The shape-changing line suits any place where a few series over the same period are compared.
The same card, as wide as the screen: the chart stretches horizontally without distorting the line’s thickness, and the four rows are tapped to change reaction.
Numbers and bars are already at their values; on a new reaction the line and label jump straight to the new shape. The demo does not move by itself.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.6 KB; the libraries: GSAP 28 KB.
Tested on 21 November 2026
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.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.