Step-by-Step Tutorial

How to Make a Pie Chart from CSV

Turn your CSV files into pie charts in seconds — no manual re-typing required.

Updated November 14, 2026

The short answer

Save the data as a CSV with two columns, the slice label first and its value second, one slice per row, with plain numbers (1200, not $1,200). Open the CSV tab in the editor and drop the file in: each row becomes a slice and the percentages are worked out for you. A header row such as Label,Value is fine, because a row whose second column isn't a number is skipped.

Follow These Steps

1

Format your CSV file correctly

Your CSV needs at least two columns: one for category labels and one for numeric values. The first row should be headers, such as 'Category,Value'. Save the file with a .csv extension using any text editor or spreadsheet app.

2

Open the pie chart maker and locate the import option

In the editor's data panel, open the CSV tab. It takes a .csv file by drag and drop or from the file picker, so you load the data from a file instead of typing each value by hand.

3

Upload your CSV file

Drop the file in or select it. The importer reads it straight away, mapping the first column to slice labels and the second column to values, and tells you how many slices it found.

4

Review the parsed data

Check that the slice count matches the rows in your file. A missing slice usually means its value wasn't a plain number; a value of 1 where you expected 1,200 means a thousands separator. Fix the cell in the spreadsheet, save again and re-upload, or correct it in the Manual tab.

5

Customize and export the chart

Adjust colors, labels, and the title to suit your needs. Once the chart looks right, download it as PNG or SVG for use in reports, dashboards, or presentations.

Try It Yourself

Practice what you learned with our interactive pie chart editor below. The chart is pre-filled with sample data to get you started.

Enter Your Data

Edit the sample data or add your own

Label
Value
%
Live preview active
Total: 100

Chart Preview

Export to PNG, SVG, PDF

My Pie Chart Data
CategoryValuePercentage
Category A3030.0%
Category B2525.0%
Category C2020.0%
Category D1515.0%
Category E1010.0%

Chart Settings

0°

Download Chart (Free · No Watermark)

Automating cold emails or client reports? Embed dynamic /api/chart.png images from URL merge tags.
Tips & Best Practices
  • Use UTF-8 encoding for your CSV to avoid character display issues.
  • Keep category names short so labels fit neatly around the chart.
  • Remove any blank rows or extra columns before uploading.
  • If your CSV has multiple value columns, decide which one to chart before importing.
  • Save a backup of the original CSV in case you need to regenerate the chart.

How the CSV importer reads your file

It reads the first two columns of every row and ignores the rest. Column one becomes the slice label and column two the value. Rows with fewer than two columns, a blank label or a value that isn't a number are skipped, which is why a header row is harmless. If a file has several value columns, move the one you want into column two before you upload it.

Watch the thousands separator. A CSV field written "1,200" in quotes keeps its comma, and the importer reads only the digits before the first comma, so it becomes 1. Without the quotes, the comma splits it into two columns and the value becomes 1 again. Format the column as a plain number with no thousands separators and no currency sign before you save; a value like 30% is fine and imports as 30. A file the importer can't read at all, such as one with a single column or a stray quote mark, shows an error instead of a chart. The CSV format itself is described in RFC 4180 (October 2005): fields that contain commas, double quotes or line breaks go inside double quotes, and a header line is optional.

Most people paste instead of uploading. In the 30 days to November 14, 2026, 421 data imports in our editor were pastes and 16 were CSV file uploads. If the data is already open in Excel or Google Sheets, copying the two columns and pasting them into the Paste tab skips the save step, and the paste reader accepts $ signs and thousands separators.

Columns readFirst twolabel, then value; extra columns ignored
"1,200" in a CSVImports as 1save values as plain numbers
Imports by paste, last 30 days421to November 14, 2026
Imports by CSV upload, last 30 days16to November 14, 2026

Sources: this site's own anonymous event log (data_import events, 30 days to November 14, 2026, read November 14, 2026; no file contents are stored); the importer's behavior as of November 14, 2026; IETF RFC 4180, "Common Format and MIME Type for Comma-Separated Values (CSV) Files" (October 2005), read November 14, 2026.

Frequently Asked Questions