suiss/uim · Chart

Radar Chart Dots

A radar chart with a dot marking the score on every axis.

Radar Chart Dots is an open-source mobile chart from suiss/uim, drawn with react-native-svg for React Native and Expo, with SwiftUI and Jetpack Compose versions built from the same design tokens. The @esuiss/uim CLI copies its source into your project, so you own the code.

iOS
Radar (dots) on iOS in light mode

A RadarChart with one lightly filled Radar series and a dot on each point. chartData has one record per axis (skill) with thisMonth and lastMonth scores. Only thisMonth is drawn. Pressing the chart shows a tooltip.

Installation

$ pnpm dlx @esuiss/uim@latest add radar-chart-dots

The CLI also adds what it builds on: Card, Chart.

Manual

  1. Add the pieces it builds on: Card, Chart.

  2. Copy the source into components/charts/radar-chart-dots.tsx:

uniwind/components/charts/radar-chart-dots.tsx
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
import {
  type ChartConfig,
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
  PolarAngleAxis,
  PolarGrid,
  Radar,
  RadarChart,
  1. Update the import paths to match your project.

Usage

import { RadarChartDots } from "@/components/charts/radar-chart-dots"
<RadarChartDots />

Replace chartData with your records, set PolarAngleAxis dataKey to your axis field, and rename the series in chartConfig. The component takes no props.