Opus Motion ★ Star on GitHub

Data · radar-compare

Radar compare

A radar (spider) chart: concentric rings and spokes fade in with axis labels, then each series polygon grows out from the centre in turn with vertex dots and count-up value labels; a legend lists every series with its average.

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

Radar compare: three frames of the animated chart, start, middle and end
Radar compare — start, middle and end of the 6.0-second motion.

What Radar compare is for

Comparing two or three things across the same criteria: products, plans, candidates, teams, skill profiles, before / after. Replace axes, series, max and colours.

  • radar
  • spider
  • web chart
  • compare
  • comparison
  • chart
  • data
  • skills
  • profile
  • infographic
  • legend
  • overlay

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
yes
Seamless loop
no
Text props
title subtitle prefix
Colour props
colors background ink
Mood
hud
Roles
accent, subject

Use Radar compare in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render radar-compare --props '{"title":"How the options compare","subtitle":"Scores out of 100 on six criteria","prefix":"","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F"],"background":"#F5F3EE","ink":"#18212B"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export radar-compare --as webm-alpha --props '{"title":"How the options compare","subtitle":"Scores out of 100 on six criteria","prefix":"","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F"],"background":"#F5F3EE","ink":"#18212B"}'

React / Next.js

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

<MotionPlayer
  motion="radar-compare"
  props={{
    title: 'How the options compare',
    subtitle: 'Scores out of 100 on six criteria',
    prefix: '',
    colors: ['#2F6FED', '#FF7A45', '#16B39A', '#F2B134', '#8E5CF0', '#E5487F'],
    background: '#F5F3EE',
    ink: '#18212B',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="radar-compare"
  props='{"title":"How the options compare","subtitle":"Scores out of 100 on six criteria","prefix":"","colors":["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F"],"background":"#F5F3EE","ink":"#18212B"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "radar-compare",
      "props": {
        "title": "How the options compare",
        "subtitle": "Scores out of 100 on six criteria",
        "prefix": "",
        "colors": [
          "#2F6FED",
          "#FF7A45",
          "#16B39A",
          "#F2B134",
          "#8E5CF0",
          "#E5487F"
        ],
        "background": "#F5F3EE",
        "ink": "#18212B"
      }
    }
  ]
}

Radar compare props

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

PropDefaultWhat it does
axes["Speed","Quality","Cost","Support","Reach","Design"]axis labels around the chart (3 or more)
series[{"name":"Option A","values":[82,70,55,88,64,76]},{"name":"Option B","values":[58,86,78…series [{name, values[] (one per axis), color?}]
max100value at the outer ring (0 = largest value in the data)
rings4number of grid rings
title"How the options compare"headline (empty = none)
subtitle"Scores out of 100 on six criteria"small line under the headline (empty = none)
prefix""text before numbers
suffix""text after numbers
decimals0decimal places on numbers
showValuestruevalue labels at every vertex (best with 1-2 series)
showAveragetrueshow each series average (count-up) in the legend
showLegendtruelegend beside (16:9, 1:1) or below (9:16) the chart
fillOpacity0.22polygon fill opacity 0-1
colors["#2F6FED","#FF7A45","#16B39A","#F2B134","#8E5CF0","#E5487F"]palette for series without their own colour
background"#F5F3EE"page colour, or "transparent"
ink"#18212B"text and grid colour
fontFamily""CSS font family (empty = Space Grotesk)
startAt10frame the grid starts drawing
speed1animation speed multiplier

Notes & credits

Technique sources:

  • original round-3 chart motion