Sean Hello

Donut Chart With Center Total

Dashboards 24

About

A donut/pie chart card that displays a breakdown of traffic sources with the total count shown in the center, built with Recharts.

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

Code

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

Usage.tsx

import Component from "@/components/ui/c-chart-19";

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

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    637
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    385
  • Line Charts 6

    Line Charts 6

    384
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    317
  • Navigation Menu

    Navigation Menu

    306

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.4K
  • Sidebar

    Sidebar

    235
  • SaaS Template

    SaaS Template

    2.4K
  • Stats Bento

    Stats Bento

    1.1K
  • Stats cards with links

    Stats cards with links

    33
  • Financial Bento Grid

    Financial Bento Grid

    71
  • Course Design Cards

    Course Design Cards

    1.1K
  • Chat template

    Chat template

    598