Skip to content

Radar Chart

A web of hairline rings and spokes holding up to four series polygons.

$149 once · every Pro piece

Customize

The axis labels fade in, then the polygons spring out of the centre one after another. Point inside a polygon (overlaps resolve to the smallest one) or hover its legend row: that series lifts while the others step back, both ways. At the same time the pointer's angle picks an axis: the legend rolls every series' value on it, and the axis is marked quietly with vertex dots and a soft wedge of the sector (or dots only, nothing, or an opt-in accent spoke that fades in from the centre and stops at the outer ring). Options: hover by axis, series or both; straight-edged rings (a triangle at three axes, a hexagon at six), circles or spokes only; solid, hatched or outline-only polygons; smoothed outlines; one series selected at rest; loading and empty states. ←/→ walk the axes, ↑/↓ the series.

Install

npx shadcn@latest add @obsyde/radar-chart

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { RadarChart } from '@/components/obsyde/ember/radar-chart/RadarChart';

export function Example() {
  return (
    <RadarChart />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/radar-chart/RadarChart.tsxcomponent
  • ember/radar-chart/radar-chart.cssstyles
  • ember/radar-chart/RadarChartDemo.tsxdemo
  • ember/viz-kit/viz-kit.cssshared
  • ember/viz-kit/size.tsshared
  • ember/viz-kit/shape.tsshared
  • ember/viz-kit/scale.tsshared
  • ember/viz-kit/roll.tsshared
  • ember/shared/rolling-number.cssshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/viz-kit/patterns.tsxshared
  • ember/viz-kit/motion.tsshared
  • ember/viz-kit/Legend.tsxshared
  • ember/viz-kit/focus.tsshared
  • ember/viz-kit/keyboard.tsshared
  • ember/viz-kit/demo.tsxshared
  • ember/viz-kit/demo.cssshared
  • ember/shared/ember.cssshared
  • ember/viz-kit/touch.tsshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
axesAxesnumber6
compareComparebooleanfalse
seriesCountSeries (0 = compare)number0
indicatorAxis indicator'wedge' | 'dots' | 'spoke' | 'none''wedge'
hoverHover'both' | 'axis' | 'series''both'
gridGrid'polygon' | 'circle' | 'none''polygon'
fillFill'solid' | 'pattern' | 'none''solid'
curvedCurvedbooleanfalse
levelsRingsnumber4
selectedSelectednumber-1
sizeSizenumber360
legendLegend'row' | 'list' | 'none''row'
statusStatus'ready' | 'loading' | 'empty''ready'
seedSeednumber9