Command Palette

Search for a command to run...

Radar Charts Showcase

A comprehensive set of interactive Radar Chart components for the Saudi National Design System (NDS / DGA).

Installation

pnpm dlx shadcn@latest add https://nds.aboalrejal.com/r/chart.json

Interactive Preview & Code

Radar Chart
Radar Chart
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Dots
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Lines Only
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Multiple
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Radius Axis
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid Circle
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid Circle Filled
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid Circle - No lines
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid Custom
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid Filled
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Grid None
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Icons
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Custom Label
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024
Radar Chart
Radar Chart - Legend
Showing total visitors for the last 6 months
Trending up by 5.2% this month
January - June 2024

Dynamic Props Usage

All chart components accept dynamic data and config props while maintaining default fallbacks:

import { ChartRadarDefault } from "@/registry/dga/charts/chart-radar-default"

const customData = [
  { month: "Jan", value: 400 },
  { month: "Feb", value: 700 },
  { month: "Mar", value: 1200 },
]

const customConfig = {
  value: {
    label: "Metrics",
    color: "var(--chart-1)",
  },
}

export default function RadarChartOverview() {
  return (
    <ChartRadarDefault
      data={customData}
      config={customConfig}
      title="Annual Analytics Report"
      description="Regional Statistics 2024"
      trendingText="Trending up by 12.5% this period"
    />
  )
}