chartcn

Pie

Pie and donut chart variants built with shadcn ChartContainer and Recharts.

Basic

Pie Chart — Basic
Browser share

Donut

Pie Chart — Donut
Browser share with inner radius

Labeled

Pie Chart — Labeled
Sector labels outside the pie

Legend

Pie Chart — Legend
Legend below the pie

Nested / two-level

Pie Chart — Nested
Two-level desktop + mobile rings

Interactive active sector

Pie Chart — Interactive
Active sector highlight

Center KPI label

Pie Chart — Center KPI
Total visitors in the donut hole

Percent tooltip

Pie Chart — Percent Tooltip
Share of total as percentage

Absolute tooltip

Pie Chart — Absolute Tooltip
Raw visitor counts in tooltip

On this page