SVG Donut Chart Generator
Generate a donut chart as clean SVG from a list of numbers, with proportional segments and a hollow centre, ready to embed anywhere.
Last reviewed by the Radiatus Cloud team
Turn a list of numbers into a donut chart as SVG code.
Need this done properly for your business?
Radiatus delivers secure cloud, DevOps & compliance engineering.
Generate donut charts as SVG
A donut chart is a pie chart with a hollow centre, a style that many find cleaner and that leaves room for a total or label in the middle. This generator turns a list of numbers into an SVG donut, drawing each segment as a ring section sized in proportion to its value, with a configurable hole size. Enter values and the chart divides the ring to match their shares of the total.
Each segment is a precise path between an outer and inner radius, so the donut is accurate and scales cleanly to any size.
Using donut chart SVG
The hollow centre of a donut chart reduces the visual weight compared with a full pie and gives a natural place to show the overall total or a headline figure. As vector SVG, the chart stays sharp at any size and embeds directly in pages, reports and dashboards. You can adjust the hole size to make the ring thick and bold or thin and delicate, and recolour any segment by editing its fill.
The output is self-contained and standards-compliant. Everything is generated locally in your browser.
Notes
This SVG Donut Chart Generator tool runs entirely in your browser, so nothing you enter is uploaded or stored on a server. The generated output is plain, standards-compliant code that you can copy, paste, edit and reuse freely in your own projects, documents and designs without any attribution or sign-up.
Related tools
- EXIF Viewer — Extract hidden EXIF data (Camera, GPS, Settings) from images.
- Favicon Generator — Generate favicons and app icons at every required size from one source image, with the exact HTML to reference them.
- Placeholder Image Generator — Generate placeholder images at any size with custom colours and label text. Produced in your browser as downloadable files, no external hotlinking.
- Image Resizer — Resize images in your browser with aspect ratio control and format conversion. Files are processed locally and never uploaded.
Frequently Asked Questions
How is a donut different from a pie?
A donut chart has a hollow centre, giving a cleaner look and space to place a total or label in the middle.
Can I change the hole size?
Yes. The hole is set as a percentage of the radius, so you can make the ring thick and bold or thin and delicate.
Are the segments proportional?
Yes. Each ring segment is sized by its share of the total, drawn as a precise path between the inner and outer radius.
Can I embed it anywhere?
Yes. It is self-contained SVG, so it drops into web pages, reports and dashboards with no separate image file.
Privacy & Security
Everything runs in your browser; nothing is uploaded.
How to Use
Enter comma-separated values, then generate the donut chart.
Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.
Related Tools
EXIF Viewer
ImageExtract hidden EXIF data (Camera, GPS, Settings) from images.
Favicon Generator
ImageGenerate favicons and app icons at every required size from one source image, with the exact HTML to reference them.
Placeholder Image Generator
ImageGenerate placeholder images at any size with custom colours and label text. Produced in your browser as downloadable files, no external hotlinking.