The React pie chart you don't have to fight.
Drop a production-ready pie chart into your React app in minutes. No SVG math, no label collisions, no styling rabbit holes, just your data and a single typed config.

Why this pie chart library
The fiddly parts of a pie chart, already handled.
How it works
Data in, pie chart out in three steps.
step 1
Install the SDK
One command, private npm package, TypeScript-first. Works with npm, yarn, pnpm, and bun.
step 2
Define your config
Pass your data, chart type, and any customizations as a single typed GraphConfig object. Fully autocompleted in your IDE.
step 3
Render anywhere in your tree
Wrap in GraphProvider and drop in the Graph component. That's it.
Agents
Don't want to write the config? Let an agent build the pie.
Graphy's agents read your dataset, find the part-to-whole story, and ship a validated pie chart — deterministic math, not LLM guesswork.
ask mode
Ask for a pie chart. Get a good one.
explore mode
Drop in your data. Get the chart.
Hand the agent a raw dataset and it finds what matters, picks the chart type with scoring rules, and proves the breakdown with a clean pie.
Use cases
Great for showing how a whole breaks down.

Market share
Show how a category splits across competitors in a single, instantly readable circle.

Budget breakdown
Turn a spreadsheet of line items into a clean part-to-whole view for finance and ops.

Traffic sources
Break down where visitors come from with percentage labels your team actually reads.
FAQ
Pie chart questions, answered.
How do I make a pie chart in React?
Install the SDK, define a config object with type: 'pie' and your data rows, then render <GraphProvider config={config}><Graph /></GraphProvider>. The chart, labels, and legend are handled for you — no manual SVG or canvas work.
Do I need a separate charting library?
No. The pie chart, tooltips, legend, and percentage labels ship in one package. You pass data in and get a production-ready chart out, rather than assembling primitives yourself.
Can I show percentages on the slices?
Yes. Set dataLabels: { showDataLabels: true, dataLabelFormat: 'percentage' } in your config and each slice renders its share automatically, with collision handling built in.
How do I turn a pie chart into a donut?
Switch the chart variant — the same data and config render as a donut with a hollow center. No data restructuring required, so you can A/B the two looks freely.
How is this different from MUI X Charts or react-google-charts?
Those are capable libraries, but you own most visual decisions and wiring. This is a config-first chart API: polished defaults, an optional end-user editor, and fine-grained overrides only when you want them.
Does it work with Next.js, Vite, or Remix?
Yes. It is a standard React component library and works in any modern React setup, including Next.js (app and pages router), Vite, and Remix.






















