Opus Motion ★ Star on GitHub

Data · progress-rings-stats

Progress rings stats

Activity-style progress rings with round caps that sweep clockwise to their value one after another while the numbers count up; either a row / grid of separate rings with the number inside and a label below, or concentric rings with a live legend and an overall percentage in the middle.

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

Progress rings stats: three frames of the animated chart, start, middle and end
Progress rings stats — start, middle and end of the 5.0-second motion.

What Progress rings stats is for

Goal progress and KPI sets: completion rates, daily targets, quota attainment, fitness-style stats, survey scores. Each ring has its own value, max, colour, prefix and suffix.

  • progress ring
  • rings
  • activity rings
  • goal
  • kpi
  • stats
  • chart
  • data
  • completion
  • infographic
  • count-up
  • legend
  • overlay

Details

Category
Animated charts & data visualisation
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title subtitle prefix centerLabel
Colour props
colors background ink
Mood
hud
Roles
accent, subject

Use Progress rings stats in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add progress-rings-stats --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render progress-rings-stats --props '{"title":"Today at a glance","subtitle":"Progress against daily goals","prefix":"","centerLabel":"OVERALL","colors":["#FF4D6D","#7ED957","#35C2FF","#B07CFF","#F2B134","#16B39A"],"background":"#0F1722","ink":"#EEF2F7"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export progress-rings-stats --as webm-alpha --props '{"title":"Today at a glance","subtitle":"Progress against daily goals","prefix":"","centerLabel":"OVERALL","colors":["#FF4D6D","#7ED957","#35C2FF","#B07CFF","#F2B134","#16B39A"],"background":"#0F1722","ink":"#EEF2F7"}'

React / Next.js

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

<MotionPlayer
  motion="progress-rings-stats"
  props={{
    title: 'Today at a glance',
    subtitle: 'Progress against daily goals',
    prefix: '',
    centerLabel: 'OVERALL',
    colors: ['#FF4D6D', '#7ED957', '#35C2FF', '#B07CFF', '#F2B134', '#16B39A'],
    background: '#0F1722',
    ink: '#EEF2F7',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="progress-rings-stats"
  props='{"title":"Today at a glance","subtitle":"Progress against daily goals","prefix":"","centerLabel":"OVERALL","colors":["#FF4D6D","#7ED957","#35C2FF","#B07CFF","#F2B134","#16B39A"],"background":"#0F1722","ink":"#EEF2F7"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "progress-rings-stats",
      "props": {
        "title": "Today at a glance",
        "subtitle": "Progress against daily goals",
        "prefix": "",
        "centerLabel": "OVERALL",
        "colors": [
          "#FF4D6D",
          "#7ED957",
          "#35C2FF",
          "#B07CFF",
          "#F2B134",
          "#16B39A"
        ],
        "background": "#0F1722",
        "ink": "#EEF2F7"
      }
    }
  ]
}

Progress rings stats props

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

PropDefaultWhat it does
rings[{"label":"Move","value":480,"max":600,"suffix":" kcal"},{"label":"Exercise","value":42…rings [{label, value, max?(default 100), color?, prefix?, suffix?, decimals?}]; the fill is value / max
layout"row""row" = separate rings in a row / grid, "concentric" = nested rings with a legend
title"Today at a glance"headline (empty = none)
subtitle"Progress against daily goals"small line under the headline (empty = none)
prefix""default text before numbers
suffix""default text after numbers (a ring can override)
decimals0decimal places on numbers
showPercenttruerow layout: print the percentage under the number inside each ring
showLegendtrueconcentric layout: legend with count-up values
centerLabel"OVERALL"concentric layout: caption under the overall percentage
thickness0.12ring thickness as a fraction of the ring diameter (row) or slot (concentric) 0.05-0.4
colors["#FF4D6D","#7ED957","#35C2FF","#B07CFF","#F2B134","#16B39A"]palette for rings without their own colour
background"#0F1722"page colour, or "transparent"
ink"#EEF2F7"text colour
fontFamily""CSS font family (empty = Space Grotesk)
startAt10frame the first ring starts
speed1animation speed multiplier

Notes & credits

Technique sources:

  • original round-3 chart motion