Pace UI

Nested Donut Chart

Component

About

A concentric multi-ring donut chart that shows hierarchical category breakdowns, with an inner ring for parent categories and an outer ring for sub-item proportions.

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

Code

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

Usage.tsx

import NestedDonut from "@/components/ui/tanstack-charts-nested-donut";

export default function NestedDonutDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <NestedDonut />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    960
  • Flip Reveal

    Flip Reveal

    669
  • Dot Flow

    Dot Flow

    267
  • Draw Line Text

    Draw Line Text

    119
  • Liquid Glass

    Liquid Glass

    62
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    46
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    10

Explore more

Part of Pace UI — browse the full library on 21st.dev.