Radar Chart

Polygon spider chart for multi-axis system diagnostics. Single or multiple overlapping series.

/// SystemsShip Diagnostics
Nominal
Critical
/// PerformanceSystem PerformanceCurrent system readiness
Readiness

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/andromeda-radar-chart

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

RadarSeries

PropTypeDefaultDescription
keyreqstring-Key in each data row whose numeric value this series plots.
labelreqstring-Series name shown in the legend and tooltip.
colorstring-Stroke and fill color for this series, defaults to the accent color.

RadarChart

PropTypeDefaultDescription
dataobject[]-Array of data rows, each an axis label plus one numeric value per series.
seriesRadarSeries[]-Series descriptors defining which data keys to plot and how.
labelstring'/// Diagnostics'Kicker text shown above the title in the card header.
titlestring'Systems Radar'Main heading shown in the card header.
descriptionstring-Optional line of text shown beneath the title.
classNamestring-Additional CSS classes for the root element.
styleReact.CSSProperties-Inline styles merged onto the root element.

More Andromeda components