Kinetik UI

Radar Chart

.md

A radar chart whose shapes grow from the centre and morph to new values; tap the legend to compare.

v1.0.0Live on web@shopify/react-native-skiareact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add radar-chart

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/radar-chart.json

Install manually

  1. Install dependencies
    npx expo install @shopify/react-native-skia react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/radar-chart.tsx
    View source files

Usage

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

<RadarChart
  accessibilityLabel="Two trails compared"
  axes={['Distance', 'Climb', 'Views', 'Shade', 'Water']}
  series={[
    { key: 'ridge', label: 'Ridge loop', values: [8, 9, 10, 3, 4] },
    { key: 'lake', label: 'Lake path', values: [5, 2, 7, 8, 10] },
  ]}
  max={10}
/>;

Axes run clockwise from the top. Pass max when the scale is fixed (scores out of 10); otherwise the largest value sits on the outer ring.

When to use

  • Comparing two or three things across the same handful of qualities: products, plans, routes, skills.
  • Profiles where the overall shape matters more than any single value.

When not to use

  • Precise comparisons on one quality. Use a bar chart.
  • More than eight axes or three series. The shapes turn into a tangle.

Notes

  • Changing values morphs each shape from where it is to the new values, even mid-morph.
  • Legend chips show and hide their series, so people can compare two at a time.
  • With reduced motion the shapes appear and change without moving.

Props

RadarChartProps

PropTypeDefaultDescription
axesrequiredreadonly string[]—Three to eight axis names, clockwise from the top.
seriesrequiredreadonly RadarSeries[]—One to three series.
accessibilityLabelrequiredstring—What the chart compares, e.g. "Two trails compared".
maxnumber—The value at the outer ring. Defaults to the largest value.
sizenumber220Diameter of the web, without labels. Defaults to 220.
ringsnumber4Rings in the web. Defaults to 4.
formatValue(value: number) => string(v) => String(Math.round(v))
legendbooleantrueRows under the chart; tap one to show or hide its series. Defaults to true.
hapticsbooleantrueA tick when a series is shown or hidden. Defaults to true.
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
The web is built once per size. Each series is one path rebuilt from a handful of points on the UI thread while it grows or morphs, then static.
Measured

Pixel 9 emulator, API 35, release build · interaction median 0.90× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 153 MB app memory

Real-device measurement pending.

Accessibility

Reduced motion
Shapes appear at their values; new values replace the old without morphing.
Screen readers
The chart reads as an image listing every series by axis; legend chips are switches.
Touch target
Legend chips are at least 44 pt tall.

Source files

components/kinetik/radar-chart.tsx is in the Code tab of the preview above.