Skip to content
SVG Generators

SVG Donut Chart Generator

Make a donut chart as SVG from your numbers. Pick colours, ring thickness, gaps and centre text. Download SVG or PNG. Free, no sign up.

Write a name and a number, like Food, 25. The slices are worked out as a share of the total, so the numbers do not need to add up to 100.

Look
Middle text
px
Live preview of your SVG

Your picture shows here.

See the SVG code

            

Something not working? Report a problem

What is the SVG Donut Chart Generator?

A donut chart shows how parts make a whole. Type your items, one on each line with a name and a number, and the chart is drawn at once, built with simple SVG circles and stroke-dasharray.

The numbers do not need to add up to 100. Slices are worked out as a share of the total. Choose colours, ring thickness, gaps between slices, round ends, percent labels, a key and text in the middle.

How to use it

  1. Type your items, one on each line, like Food, 25.
  2. Pick colours, ring thickness and labels.
  3. Press Download SVG or PNG.

Why people like this tool

Any numbers

Slices are a share of the total.

Centre text

Add a big number in the hole.

Your style

Colours, gaps and round ends.

Clean code

Small SVG with hover titles.

How it works, in one picture

Infographic: how to use the SVG Donut Chart Generator in 3 easy steps: Add your text, Choose your options and Save your file. You get: Any numbers, Centre text, Your style and Clean code.

Frequently asked questions

How do I make a donut chart?
Type items in the box, for example "Rent, 40". The donut updates as you type.
What is the difference between donut and pie?
A donut has a hole in the middle, which you can use for a total. A pie is filled to the centre. Try our SVG Pie Chart Generator for a pie.
Can I use the chart on my website?
Yes. Save the SVG and use it in an img tag, or paste the code inline.
Do hover tips work?
Yes. Each slice has a title, so browsers show its name and percent when you hover over it in inline SVG.

You may also like