Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

A simple pie chart

A simple React pie chart for visualizing categorical data proportions using shadcn/ui and Recharts

Pie charts make proportions obvious at a glance. This React pie chart divides a circle into slices representing browser market share, with each segment's size proportional to its value. Built with shadcn/ui and Recharts, colors from chartConfig automatically apply to each category. The circular form makes it immediately clear which browsers dominate—Chrome's large slice versus Edge's smaller one. Perfect for market share analysis, budget allocation, survey results, or any categorical data where you want to show parts of a whole.

A simple pie chart preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.