suiss/ui · Chart
Radar Chart Default
A single filled radar shape showing this month's scores across six training skills.
Radar Chart Default is an open-source chart from suiss/ui for React, React Native, SwiftUI and Jetpack Compose. The @esuiss/ui CLI copies its source into your project, so you own the code.
One series drawn as a filled shape across six axes on a polygon grid. Use it to show the profile of a single item across several comparable scores, such as skills or product ratings.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
- Install the dependencies:
-
Copy the source into
components/charts/radar-chart-default.tsx:
- Update the import paths to match your project.
Usage
Replace chartData with one record per axis, set dataKey on PolarAngleAxis to the axis name field and on Radar to your value field. Rename the series in chartConfig to set its label and color.
Notes
Without a fixed scale the radius adapts to the largest value, so two charts with different data aren't directly comparable; see the radius-axis variant for a fixed range. Radar charts read best with five to eight axes.

The basic RadarChart: a polygon PolarGrid, an angle axis for each skill and one filled Radar series. chartData has one record per axis (skill) with thisMonth and lastMonth scores. Only thisMonth is drawn. Pressing the chart shows a tooltip.
Installation
The CLI also adds what it builds on: Card, Chart.
Manual
-
Target iOS 17 or later.
-
Copy the theme files every view uses:
- Copy the source and every file it uses:
- Add the files to your app target.
- Set
minSdkto 24 or higher and add the dependencies:
- Copy the theme files every view uses:
- Copy the source and every file it uses:
- Update the
com.esuiss.uipackage names to match your project.
Usage
Replace chartData with your records, set PolarAngleAxis dataKey to your axis field, and rename the series in chartConfig. The component takes no props.
