Pie Chart Maker
Draw a pie chart from a pasted label-and-value column, with every share printed as a percentage and the total stated. PNG and SVG download.
What this page draws
Turns a label, value column into slices whose angles are exactly proportional to the values, printing the percentage inside each slice that is large enough to hold it.
How to use it
Paste one row per slice as label, value, for example alpha, 30. Press Draw. Each share is printed inside its slice when it is at least 6%, and beside its legend label in every case.
Worked example: alpha, 30 / beta, 50 / gamma, 20 becomes three slices of 30%, 50% and 20%, each labelled in the legend.
What the picture states
Domain: The rows you paste; the whole circle is the total.
Sampling: One slice per pasted row, up to 30 slices.
The caption under the picture repeats both, so the drawing and the facts cannot disagree.
How it works
The slice angle is value ÷ total × 360°. The sweep is accumulated from −90° so the first slice starts at the top, and each slice carries its own colour and legend entry.
What it refuses
An empty paste, a non-numeric value, a negative value, more than thirty slices, or a total of zero is refused by name. A zero total has no slice to draw, so it is refused rather than drawn blank.
Where it runs
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
Turns a label, value column into slices whose angles are exactly proportional to the values, printing the percentage inside each slice that is large enough to hold it.
The slice angle is value ÷ total × 360°. The sweep is accumulated from −90° so the first slice starts at the top, and each slice carries its own colour and legend entry. The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
Domain: The rows you paste; the whole circle is the total. Sampling: One slice per pasted row, up to 30 slices.
Worked example: alpha, 30 / beta, 50 / gamma, 20 becomes three slices of 30%, 50% and 20%, each labelled in the legend.
How to use the pie chart maker
Paste one row per slice as label, value, for example alpha, 30. Press Draw. Each share is printed inside its slice when it is at least 6%, and beside its legend label in every case.
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
- Rows: label, value — one value or one rule per line
What the picture states
Turns a label, value column into slices whose angles are exactly proportional to the values, printing the percentage inside each slice that is large enough to hold it.
The slice angle is value ÷ total × 360°. The sweep is accumulated from −90° so the first slice starts at the top, and each slice carries its own colour and legend entry.
- Domain: The rows you paste; the whole circle is the total.
- Sampling: One slice per pasted row, up to 30 slices.
- The caption under the picture repeats the domain and the sample count, so the drawing and the facts cannot disagree.
What it refuses, and what it leaves out
An empty paste, a non-numeric value, a negative value, more than thirty slices, or a total of zero is refused by name. A zero total has no slice to draw, so it is refused rather than drawn blank.
- Not the right page for: many small categories, which a bar chart compares better
- Not the right page for: values that can be negative
What to Expect
Best for
- parts of a whole with a few categories
- a budget split
- a survey with clear majorities
Not ideal for
- many small categories, which a bar chart compares better
- values that can be negative
What this tool keeps
- Exact proportions from the pasted values
- Every percentage in the legend
- The total in the facts
What may need cleanup
- Grouping tiny categories into one slice
- Checking that the labels are short enough for the legend
Common errors
- Negative values are refused
- A legend longer than sixteen rows is not drawn
Example use cases
- A budget split
- A traffic-source chart
- A quick share breakdown
Sample input
alpha, 30 / beta, 50 / gamma, 20
Sample output
three slices of 30%, 50% and 20%, each labelled in the legend
Who this is for
- Analysts
- Students
- Anyone presenting a split
Frequently asked questions
Is my data sent anywhere?
The picture is computed and drawn in this tab: there is no upload, no network request, no plotting library and no model, so nothing you paste leaves your device.
What can I download?
Two files from the same drawing: a PNG captured from the canvas and an SVG built from the same drawing operations. Both are produced in your browser, and neither is uploaded.
Why does the page state the domain and the sample count?
Because a picture is a finite sample of a mathematical object. Saying where it was sampled and how many points were used is the difference between a plot and a guess. The rows you paste; the whole circle is the total. One slice per pasted row, up to 30 slices.
Why is there no percentage in the small slice?
A slice under 6% cannot hold readable text, so its percentage is printed beside the legend label instead. Every slice's share is always in the legend.
Do the percentages add to 100?
They are printed to one decimal place, so the printed figures can sum to 99.9% or 100.1%. The angles themselves are computed from the exact values and always close the circle.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.