panelui

Polar Area Chart

Component

About

Several readings compared on one measure, as a dial.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Polar Area Chart to your project and fits it to your theme.

Code

How Polar Area Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client';

import { PolarAreaChart } from '@/components/ui/panel-polar-area-chart';
const SCORES = [
  { label: 'Speed', value: 82 },
  { label: 'Reach', value: 54 },
  { label: 'Depth', value: 71 },
  { label: 'Cost', value: 28 },
  { label: 'Care', value: 64 },
];

export default function PolarAreaChartScale() {
  return (
    <div className="grid w-full max-w-lg grid-cols-2 gap-4">
      <PolarAreaChart data={SCORES} scale="radius">
        <PolarAreaChart.Header title="radius" />
        <PolarAreaChart.Grid />
        <PolarAreaChart.Wedges />
      </PolarAreaChart>
      <PolarAreaChart data={SCORES} scale="area">
        <PolarAreaChart.Header title="area" />
        <PolarAreaChart.Grid />
        <PolarAreaChart.Wedges />
      </PolarAreaChart>
    </div>
  );
}

Dependencies

More by panelui

View all
  • Spinner

    Spinner

    8
  • Flow

    Flow

    4
  • Hex Chart

    Hex Chart

    2
  • Treemap Chart

    Treemap Chart

    1
  • Soundwave

    Soundwave

    1
  • Share

    Share

    1
  • Scatter Chart

    Scatter Chart

    1
  • Pyramid Chart

    Pyramid Chart

    1