Donut Chart Generator
You have budget numbers, survey results, or market share data — and you need a chart that actually looks good. Pie charts work, but they feel flat and dated. A donut chart gives you that same proportional breakdown with a cleaner, more modern look and room for a label right in the center.
Data visualization transforms raw numbers into visual representations that are easier to understand and analyze. Charts and graphs reveal patterns, trends, and outliers that might be missed in tabular data. Common chart types include bar charts for comparisons, line charts for trends, pie charts for proportions, and scatter plots for correlations.
Drop in your segment labels and values, pick a color palette, adjust the hole size, and grab a finished donut chart as a PNG — all in one screen with a live preview that updates as you type. No signup, no watermark, no charting library to install.
Five built-in palettes handle most color decisions for you, but you can override any slice individually. The inner-radius slider lets you go from a full pie (0%) to a thin ring (90%), and center text can show a total, a custom label, or nothing at all. And everything runs in your browser. Nothing gets uploaded.
How It Works
You type in labels and values for each slice. The tool calculates percentages from your raw numbers, draws arcs on an HTML5 Canvas element proportional to each value, and leaves a hole in the middle based on your inner radius setting. Labels, legends, and center text are all layered on top. When you hit export, the canvas gets converted to a PNG file right in the browser — no server involved.
Examples
Monthly Marketing Budget Breakdown
Splitting a $10,000 marketing budget across channels for a quarterly review deck.
Social Ads: 3500
Google Ads: 2800
Email: 1500
Content: 1200
Events: 1000
Donut chart with 5 slices:
Social Ads 35%
Google Ads 28%
Email 15%
Content 12%
Events 10%
Center text: "$10K Budget"
Website Traffic Sources
Quick visual for a Monday standup showing where last week's visitors came from.
Organic Search: 4200
Direct: 1800
Social: 950
Referral: 600
Donut chart — 4 segments
Organic dominates at 55.6%
Direct is second at 23.8%
Student Survey: Favorite Programming Languages
A CS professor polled 120 students and needs a chart for lecture slides. The data is messy because some students picked niche languages, so grouping the small ones matters.
Python: 42
JavaScript: 31
Java: 18
C++: 14
Rust: 8
Other: 7
6-segment donut chart
Python leads at 35%
JavaScript at 25.8%
Smaller slices still visible
Center text: "120 Students"
Who Uses This
Building budget or channel breakdowns for campaign reports and pitch decks.
Making quick charts for research papers, class presentations, or group projects without installing anything.
Visualizing feature usage stats or user feedback categories for sprint reviews.
Generating a fast one-off chart when the full BI tool is overkill for the task.
Common Mistakes
Adding 15+ segments turns your donut into a rainbow mess where nothing is readable. Group anything under 3-4% into an "Other" category. Five to eight slices is the sweet spot for readability.
An inner radius below 30% basically turns your donut into a pie chart with a tiny dot in the middle. If you want the donut look, keep it between 50% and 70%. That gives you enough center space for a label without making the slices too thin to read.
Two shades of blue next to each other? People won't be able to tell where one ends and the other starts. Use the built-in palettes — they're designed with enough contrast between neighbors. Or manually pick colors that are visually distinct.
Technical Details
- Processing: 100% client-side — nothing leaves your browser
- Rendering: HTML5 Canvas API with anti-aliased arcs
- Export Format: PNG (transparent or white background)
- Segments: No hard limit, but 5-8 recommended for clarity
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
What's the difference between a donut chart and a pie chart?
Same data, different shape. A pie chart is a solid circle. A donut chart has a hole in the middle, which gives you space for a total or label. Most designers prefer donuts because they look less cluttered and the center hole actually makes it easier to compare slice sizes.
Can I download the chart as an image?
Yes. Hit the Export PNG button and the chart saves straight to your downloads folder. The image includes the legend, labels, and center text — whatever's visible on the preview is what you get in the file.
How many segments can a donut chart have?
Technically, as many as you want. Practically, keep it under 8. Once you pass that, the slices get so thin that labels overlap and colors blur together. If your data has more than 8 categories, combine the smallest ones into "Other."
Is my data private when I use this tool?
Completely. The chart is rendered using JavaScript and Canvas in your browser. No data gets sent to any server. You could disconnect from the internet after loading the page and the tool would still work fine.
When should I use a donut chart instead of a bar chart?
Donut charts are best when you want to show parts of a whole — like how a budget splits across categories or what percentage of users picked each option. Bar charts are better when you need to compare exact values or show changes over time. If your audience needs to see "this is 35% of the total," go with a donut. If they need to see "this grew from 200 to 350," pick a bar chart.