Munition

Pie chart maker

Early access

Early access. Free to start.

Pie chart maker: from a list of numbers to a clear pie chart

Paste numbers, a table or a sentence like 'rent 900, food 400, transport 150, leisure 50'. The pie chart maker adds them up, works out each share, labels the slices and tells you when a bar chart would be clearer.

How the pie chart maker works

  1. Paste your data

    Labels and numbers, a range copied from a spreadsheet, or survey results written as sentences. Raw counts and percentages both work.

  2. Check the table, get the chart

    Munition shows the values it read as a table, adds the total, converts each value to a percentage and draws the slices on the page, largest first.

  3. Adjust, then copy

    Group small slices into 'Other' or rename labels in plain words. Then copy the table of values, percentages and angles, or the Mermaid pie code, or download them as Markdown.

Early access

Turn your next list of numbers into a pie chart

Join early access to paste your numbers or a sentence and get a labeled pie chart with the math shown. Free to start.

What the pie chart generator does

  • The math, visible

    Each slice shows its value and its percentage, and the total appears with the chart, so you can check the arithmetic yourself: share = value ÷ total, angle = share × 360°.

  • Honest about the chart type

    Values that don't make up one whole, too many categories, or a comparison across years? It says so and suggests a bar or line chart instead.

  • Readable by default

    Slices sorted from largest to smallest starting at 12 o'clock, tiny slices grouped, labels moved outside when a slice is too thin to hold them.

  • Numbers pulled from text

    Paste a paragraph of survey results or a pasted table and the values are extracted for you, shown as a table first so a misread number is easy to spot.

  • A table and Mermaid code to copy

    The chart is shown on this page. Copy its table into your homework or a spreadsheet, or copy the Mermaid pie code: one line per slice, so next month's figures take one edit per line. Both also download as Markdown.

  • Here, in ChatGPT or Claude, or by API

    The plan: use it on this page, inside ChatGPT or Claude through the Munition connector, or from your own code through the Munition API. All three come with early access.

Who uses a pie chart maker

  • A middle school student with survey results

    She surveyed her class on how they get to school and needs a pie chart with percentages for her math homework. She checks the angles with a protractor afterwards.

  • A math teacher preparing a worked example

    He pastes the results of a class survey to get the table of percentages and angles, then hides the angle column and turns it into an exercise.

  • A couple setting a monthly budget

    They paste last month's spending and see that eating out is a bigger slice than groceries, which neither of them expected.

  • A shop owner reviewing sales by category

    He pastes last quarter's totals per product line and copies the table into his notes for the meeting with his accountant.

  • A UX researcher sharing one survey question

    He pastes the answers to 'How did you hear about us?' and gets a chart for the readout, with the number of respondents in the title.

How to make a pie chart for free

Spreadsheets have drawn pie charts for decades, and with clean data they are the quickest route. Munition saves time when the numbers are buried in text, or when you are not sure a pie is the right chart.

  • In a spreadsheet

    Works the same way in Excel, Google Sheets and LibreOffice Calc.

    1. Put labels in one column and values in the next, one row per slice, with no total row.
    2. Select both columns, headers included.
    3. Insert a chart and choose Pie. Google Sheets may suggest another type first; change it in the chart editor.
    4. Turn on data labels and choose to show percentages.
    5. Copy the chart into your document, or download it as an image from the chart's menu.
  • By hand, with a protractor

    Worked example with the budget above: the total is 1,500. Rent is 900 ÷ 1,500 = 60%, so 0.6 × 360 = 216°. Food is 96°, transport 36°, leisure 12°. Together, 360°.

    1. Add all the values to get the total.
    2. For each category, compute value ÷ total × 360 to get its angle.
    3. Draw a circle and a radius from the center straight up.
    4. Measure the first angle from that radius, draw the next radius and continue clockwise.
    5. Check that the angles add up to 360° (rounding can leave a degree), then label each slice with its percentage.
  • Mermaid pie

    Type pie, optionally followed by title and your title, then one line per slice: the label in double quotes, a colon and the value, for example "Rent" : 900. Paste it into mermaid.live, which works out the percentages for you.

Tips for a pie chart that tells the truth

  1. Use a pie only for parts of one whole. If the values don't add up to something meaningful, use bars.
  2. Keep it to five or six slices and group the rest into 'Other'.
  3. Put the total, or the number of respondents, in the title.
  4. Avoid 3D and pulled-out slices: they distort the angles you are trying to compare.
  5. When two slices are close in size, show the percentages. The eye cannot reliably tell 23% from 26%.

Frequently asked questions

Divide each value by the total, then multiply by 360. For example, 900 out of 1,500 is 0.6, which gives 216°. Each 1% of the total equals 3.6°.

When the values are not parts of one whole, when there are more than about six categories, when you compare several groups or years, or when the slices are nearly equal. A bar chart handles all of these better.

Munition is free to start: joining early access costs nothing, and there will be a free plan when the tool opens, with paid plans for heavier use. Google Sheets, LibreOffice Calc and the Mermaid Live Editor are free, and Excel does it too if you already have it.

Not honestly. Totals above 100% usually come from a question where people could pick several answers, and those results belong in a bar chart. If the total is 99% or 101% because of rounding, keep the pie and add a note.

They show the same thing. A donut leaves the center free for the total or a key figure. Pick whichever fits your layout, and avoid both when you have many slices.

Yes. Paste survey results or a sentence from a report and Munition extracts the labels and values, then shows them as a table before drawing, so you can catch a misread number.

Not yet. The pie chart maker is in early access: the plan is for it to work on this page, inside ChatGPT and Claude through the Munition connector, and through the Munition API for developers. In a chat, you would type your figures and get the table of shares and the chart back. Join early access and tell us where you would use it: it helps us decide what to build first.

During early access, nothing you type here is processed by an AI. If you join, we may keep the start of your text with your signup, to see what people want the tool for, so leave out anything private. When the tool opens, the Munition privacy policy will describe how text is processed.

Benjamin Martin · Written with the help of AI tools. · Updated