Opus Motion ★ Star on GitHub

Data · axis-ratchet-rescale

Axis ratchet rescale

A pencil chart draws calmly until one value pierces the top frame line — torn red scar, 2-frame punch-in, decaying shake — holds the break for a beat, then the y-axis rescales in 4 ratchet clicks with every tick and mark sliding to its new position.

A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Axis ratchet rescale: three frames of the animated chart, start, middle and end
Axis ratchet rescale — start, middle and end of the 6.0-second motion.

What Axis ratchet rescale is for

"Record-breaking" moments — a viral spike, price bubble, flood level, heat record — in any chart story; pairs with number-counter.

  • chart
  • rescale
  • ratchet
  • record
  • spike
  • break the frame
  • scar
  • pencil
  • hand drawn
  • paper
  • punch in
  • shake
  • dataviz
  • viral
  • peak
  • axis

Details

Category
Animated charts & data visualisation
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title subtitle unit
Colour props
accent background
Mood
paper, hud
Roles
subject

Use Axis ratchet rescale in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add axis-ratchet-rescale --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render axis-ratchet-rescale --props '{"title":"Then came March","subtitle":"DAILY VISITS, THOUSANDS · ONE MARK PER DAY","unit":"k","accent":"#A8283A","background":"#F6F3EC"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export axis-ratchet-rescale --as mp4 --props '{"title":"Then came March","subtitle":"DAILY VISITS, THOUSANDS · ONE MARK PER DAY","unit":"k","accent":"#A8283A","background":"#F6F3EC"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="axis-ratchet-rescale"
  props={{
    title: 'Then came March',
    subtitle: 'DAILY VISITS, THOUSANDS · ONE MARK PER DAY',
    unit: 'k',
    accent: '#A8283A',
    background: '#F6F3EC',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="axis-ratchet-rescale"
  props='{"title":"Then came March","subtitle":"DAILY VISITS, THOUSANDS · ONE MARK PER DAY","unit":"k","accent":"#A8283A","background":"#F6F3EC"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "axis-ratchet-rescale",
      "props": {
        "title": "Then came March",
        "subtitle": "DAILY VISITS, THOUSANDS · ONE MARK PER DAY",
        "unit": "k",
        "accent": "#A8283A",
        "background": "#F6F3EC"
      }
    }
  ]
}

Axis ratchet rescale props

12 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
values[19.1,22.9,22.2,27,28.2,23.8,26.7,25.2,29.6,28.9,33.2,40,35.4,39.1,44.1,38.5,43.1,42.9,…the series; one value should exceed domainBefore
spikeIndex23index of the record value (-1 = third from last)
ticks4number of y-axis divisions
domainBefore90y domain before the rescale (the spike must overshoot it)
domainAfter160y domain after the 4 ratchet clicks
title"Then came March"serif headline
subtitle"DAILY VISITS, THOUSANDS · ONE MARK PER DAY"mono kicker
unit"k"unit label above the axis
note"off the chart"handwritten red note at the spike
accent"#A8283A"spike colour
seed9pencil wobble seed
background"#F6F3EC"paper colour

Notes & credits

Technique sources:

  • lemo-opuscar styles/dataviz (MIT, LemoLab) — STYLE.md "Breaking the frame", DEMO.md Shots