Key Facts
- Category
- Data Visualization
- Input Types
- textarea, text, select, number, color, checkbox
- Output Type
- html
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The Donut Chart Generator allows you to create professional, customizable ring charts from your data, providing a clear and visually appealing way to represent proportions and percentages with a central space for additional context.
When to Use
- •When you need to visualize part-to-whole relationships in a clean, modern format.
- •When you want to display categorical data proportions while keeping the center area open for labels or totals.
- •When creating presentation slides or reports that require quick, intuitive data comparisons.
How It Works
- •Input your data using either a JSON array format or a simple label:value text list.
- •Adjust styling options such as color schemes, chart size, and inner/outer radius to fit your design needs.
- •Toggle display settings like percentages, legends, and center text to customize the final output.
- •Generate the chart instantly to view or export your data visualization.
Use Cases
Examples
1. Quarterly Budget Allocation
Financial Analyst- Background
- The analyst needs to present the distribution of the Q3 marketing budget across four main channels to stakeholders.
- Problem
- A standard pie chart looks too cluttered, and the team needs a modern visual that highlights the total budget in the center.
- How to Use
- Input the channel names and values, enable 'Show Total in Center', and select the 'Business' color scheme.
- Example Config
-
chartData: [{"label": "Social", "value": 40}, {"label": "Search", "value": 30}, {"label": "Email", "value": 20}, {"label": "Display", "value": 10}], showTotalInCenter: true, colorScheme: "business" - Outcome
- A professional donut chart showing the budget breakdown with the total budget amount clearly displayed in the center.
2. Customer Satisfaction Survey
Product Manager- Background
- The product team collected feedback on feature satisfaction and wants to highlight the proportion of positive vs. negative responses.
- Problem
- Need to emphasize specific segments to show that the majority of users are satisfied.
- How to Use
- Input the satisfaction ratings, enable 'Explode Slices' to highlight the 'Very Satisfied' segment, and show percentages.
- Example Config
-
chartData: [{"label": "Very Satisfied", "value": 60}, {"label": "Satisfied", "value": 25}, {"label": "Neutral", "value": 10}, {"label": "Dissatisfied", "value": 5}], explodeSlices: true, showPercentage: true - Outcome
- A visually distinct donut chart where the 'Very Satisfied' slice is separated for emphasis, with percentages clearly labeled on each slice.
Try with Samples
json, textRelated Hubs
FAQ
What data formats are supported?
You can provide data as a JSON array (e.g., [{"label": "A", "value": 10}]) or as a simple text list (e.g., Label:Value).
Can I change the colors of the chart?
Yes, you can select from several predefined color schemes including Warm, Cool, Pastel, Vibrant, and Business.
Is it possible to show the total value in the center?
Yes, by enabling the 'Show Total in Center' option, the sum of your data values will appear in the middle of the donut.
Can I adjust the size of the donut hole?
Yes, you can manually set the 'Inner Radius' in pixels to control the thickness of the ring.
Can I separate the slices for emphasis?
Yes, enable the 'Explode Slices' option to add spacing between each segment of the chart.