Ballmac UI home

Chart Radar

A radar chart with filled or outlined shapes, polygon or circular rings, dots and a fixed scale, in a frame with a legend that switches series off, a table of every axis, patterns and states.

6/6 checksv1.0.0Updated Oct 18, 2026
What changed

Team skills

Self-rated, 0 to 100

6 points. Level: Frontend 94, Design 86, Research 83.

Installation

$ pnpm dlx shadcn@latest add @ballmac/chart-radar

Usage

import { ChartRadar } from "@/components/ballmac/chart-radar"

The full example is in the Code tab above.

Examples

Two series with the scale

Before and after

Scorecard, with the scale shown

6 points. Before: Accuracy 74, Cost 70, Reliability 63. After: Accuracy 88, Support 84, Speed 81.

Circular rings, outlines and dots

Week at a glance

Minutes of focus and of calls, in tens

7 points. Focus: Thu 76, Tue 71, Mon 62. Calls: Wed 47, Fri 38, Mon 34.

Patterns for color blindness

Satisfaction by area

Three teams. Patterns tell the shapes apart without color

5 points. Team A: Search 88, Onboarding 82, Billing 71. Team B: Billing 77, Exports 72, Onboarding 64. Team C: Mobile 78, Exports 69, Search 63.

API reference

PropTypeDefault
fillShape

Fill each shape. Turn it off to draw outlines, which keeps overlapping series readable.

booleantrue
dots

Draw a dot on every axis.

booleanfalse
grid

The shape of the grid rings.

"polygon" | "circle" | "none""polygon"
domain

Fix the scale, for example `[0, 100]`.

[number, number]—
scale

Write the scale along one axis.

booleanfalse
tooltipbooleantrue

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
Arrow keysMove between axes (accessibilityLayer)
Tab, Enter / SpaceLegend buttons switch series off and on; the Chart / Table switch shows the numbers as a table
Screen readersThe figure has a name and a summary written from the data

Quality scorecard

6/6

Every applicable check passes

Measured in Chromium 153.0.8010.12 on October 19, 2026, on version 1.0.0, across 4 examples.

How we measure
  • Passed: Accessibility scan

    No serious or critical issues in light and dark, on a phone and a desktop (axe-core 4.13.0, WCAG 2.1 AA and best-practice rules).

  • Passed: Small screens

    No sideways scrolling at 360, 390 or 1280 px wide.

  • Passed: Reduced motion

    No endless animation to begin with.

  • Not applicable: Right to left

    Not mirrored by design: Recharts draws its axes in SVG coordinates, which do not mirror.

  • Passed: Clean console

    No console errors or React hydration errors while loading.

  • Passed: Keyboard

    16 tab stops, each showing a visible change when it takes focus. 3 documented keys.

  • Not applicable: Loading, empty and error

    Does not show data or take submissions.

  • Passed: Automated tests

    Covered by charts-batch-families.test.tsx.

  • For information: Footprint

    1.4 KB of source (gzip) in 1 file. Installs recharts.

Automated checks find a subset of problems and do not replace testing with a screen reader and a keyboard in your own app. What they miss.

Use with AI

<ChartRadar title description data xKey series={[{ key, label, color? }]} />. fillShape (false draws outlines), dots, grid: polygon | circle | none, domain ([0, 100]), scale (write the scale), legend, patterns, state and every ChartFrame prop. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Chart Radar (@ballmac/chart-radar) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Comparing a few things across the same 5 to 8 dimensions
  • Scorecards and profiles

Not for

  • Precise comparison of values (use chart-bar)
  • More than three or four overlapping series

Registry JSON: https://ui.ballmac.com/r/chart-radar.json

Credits

Free to use in personal and commercial projects.

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.