Pie Chart Maker

Chart data

Turn a small categorical dataset into a clear pie or donut chart without uploading a spreadsheet. Enter label-and-value rows or paste CSV or tab-separated data, then choose colors, labels, legend placement and a start angle. The preview includes a text summary and accessible data table, while exports are rendered locally as a 1200 × 800 PNG or a scalable SVG. Pie charts work best for a few non-negative parts of one meaningful whole.

How to make a pie chart

  1. 1

    Enter the categories

    Add label-and-value rows, or paste two-column CSV or tab-separated data.

  2. 2

    Choose the presentation

    Select pie or donut, a palette, slice labels, legend position, sorting and start angle.

  3. 3

    Check the accessible result

    Review the chart, its text alternative and the exact values and percentages in the table.

  4. 4

    Export the chart

    Download a 1200 × 800 PNG or scalable SVG, or copy the source data as CSV.

What a pie chart shows

A pie chart maps each positive value to an angle around a 360° circle. If a category has value v and all displayed values sum to T, its central angle is 360 × v / T, while its displayed percentage is 100 × v / T. A donut chart uses the same proportions and removes the center; it does not change the underlying comparison.

Category Value Share Slice angle
Product 45 45% 162°
Services 30 30% 108°
Support 25 25% 90°

In this example, the total is 100. Product therefore takes 45 / 100 × 360 = 162°. The tool accepts zero values but omits them from the visible circle. It rejects negative, missing and non-finite values because they do not define ordinary parts of a whole, and it requires at least one positive value.

When to use another chart

Pie charts are easiest to read with a small number of clearly different slices. A bar chart is usually better when values are close, there are many categories, precise comparisons matter, or the categories are not parts of one total. A line chart is more appropriate for change over time. Avoid adding percentages that already overlap or double-count, because a polished circle cannot repair an invalid total.

Color, labels and accessibility

Color alone should not carry the meaning. Keep the legend or visible slice labels, review the accompanying table, and use the colorblind-friendly palette when the chart will be shared broadly. Very small slices may not have room for text inside the circle; their exact label, value and percentage remain available in the legend and data table. SVG is useful for editing and sharp print output. PNG is a fixed 1200 × 800 image suitable for slides, documents and social posts.

The chart is generated with browser SVG and Canvas APIs. No chart data is sent to an external chart service. Funnel progress is kept temporarily in this tab’s session storage and can be cleared by starting over or closing the tab.

For further guidance, see Datawrapper’s advice on creating pie charts with no more than a few parts, the W3C’s accessible data-table tutorial, and MDN’s reference for describing SVG graphics with <desc>.

Frequently Asked Questions

Yes. Copy two columns containing labels and values, then paste them into the importer. Tab-separated spreadsheet rows, comma-separated CSV and semicolon-separated rows are supported, including quoted CSV labels.

Zero has no angular area, so it is accepted but omitted from the circle. Negative values cannot represent an ordinary slice of a whole and are rejected. At least one category must be greater than zero.

They encode proportions in the same way. Choose pie for the most direct part-to-whole display and donut when the center total is useful. Use a bar chart instead when exact comparison is more important.

The generated SVG has a text summary and each slice has a text description. The page also provides a conventional table containing every displayed label, value and percentage. Keep the table or an equivalent text description when publishing the chart elsewhere.

No. Rows, title and design settings stay in your browser. During the multi-step flow they are stored only in this tab’s session storage; the PNG and SVG are rendered locally and no data is placed in the URL.

Related Tools