Updated: August 2026 • Verified v1.2
SVG Pie Chart & Donut Chart Generator
Creative & DesignDesignLocal Browser Execution: Your input is processed locally in your browser and is not sent to UTL servers.
Slice_Angle = (Value / Total) * 2*PI; Arc_Points: x = cx + r*cos(angle), y = cy + r*sin(angle)Was this calculation helpful?
Understanding Your Results
Calculates slice polar angles, generates exact SVG `<path d="M... A... Z">` arc geometry for both solid pie slices and donut rings, displays an interactive live preview, and exports React JSX and pure SVG markup.
Practical Guidance & Next Steps
Using pure SVG charts eliminates external npm dependencies, guarantees zero runtime JavaScript overhead, and ensures crisp rendering on retina displays.
What is this?
A creative data visualization utility that calculates arc trigonometry to generate pure SVG and React pie and donut charts.
How does it work?
1. Adjust inner radius (0 for Pie, >0 for Donut) and outer radius.
2. Enter slice values, labels, and customize colors.
3. View the live interactive chart and copy the React component or SVG markup.
Why use it?
Embeds sleek, zero-dependency charts directly into web applications and static sites.
Technical Scope & Calculation Limitations
Generates SVG 1.1 / 2.0 standard vector markup.
Frequently Asked Questions
Each slice's percentage is converted to radians. Using standard trigonometry (`x = cx + r*cos(theta)`, `y = cy + r*sin(theta)`), the start and end coordinates of the arc are determined and connected via the SVG `A` (arc) path command.
Windows Desktop & Widget Options
All Windows widgets Want this capability on your Windows desktop?
Desktop Widget
9.4/10
Rainmeter Desktop Customization Engine
Powerful open-source desktop customization framework for hardware monitors, clocks, and audio visualizers.
FreeMedium InstallLow RAM
By Rainmeter Team (Open Source)View Widget
Complementary Utilities
All Creative & Design tools Related Tools for Your Workflow
creative
Design
SVG Circular Progress Bar & Radial Gauge Ring Calculator
HTML5 / React / TypeScriptStatic Utility
creative
Design
SVG Stroke Dasharray & Dashoffset Path Drawing Animator
HTML5 / React / TypeScriptStatic Utility
creative
Design
SVG ViewBox & PreserveAspectRatio Coordinate Calculator
HTML5 / React / TypeScriptStatic Utility