Copy the cells in Excel or Google Sheets and paste them here, or load the .xlsx file. The workbook is read in your browser, and the chart exports as SVG or PNG with no account.
How to chart Excel data
By copying and pasting
- In Excel or Google Sheets, select the cells: the label column, the number columns and the header row.
- Copy them (Ctrl+C, or ⌘C on a Mac).
- Click the paste box in the Data panel and paste (Ctrl+V or ⌘V). The table and the chart update at once.
By loading the workbook
- Choose “Load CSV or XLSX” in the Data panel and pick the .xlsx file, or drag it onto the paste box.
- The values of the first worksheet are read into the table.
Why pasting works
When you copy cells, a spreadsheet puts them on the clipboard as plain text with a tab between columns and a line break between rows. This page reads that text. The numbers arrive as they are displayed, so a cell showing “1.234,56” or “R$ 1.234,56” is read as 1234.56 once the decimal comma is detected, and a cell showing “45%” is read as 45.
Because the displayed text is what travels, rounding in the cell format travels too. If a cell holds 3.14159 and shows 3.14, the chart gets 3.14. Widen the number format in the spreadsheet first if you need more digits.
What is read from an .xlsx file
- Read: text and numbers of the first worksheet, and the stored results of formulas.
- Not read: other worksheets, cell formats, colours, merged-cell layout, charts and pivot tables in the workbook.
- Dates: stored as serial numbers, so a date column shows numbers such as 45292. Paste the cells instead to keep the dates as written.
- .xls: the older binary format is not supported; save as .xlsx or .csv.
The file is opened by code on this page. An .xlsx file is a ZIP archive of XML files; the page unpacks the parts it needs in your browser, and nothing is sent anywhere.
Shaping the table for a chart
Charts want a plain rectangle: one header row, one label column, numbers everywhere else. Before copying, leave out total rows (they would become one giant bar), blank separator rows and notes. If the series run across rows, paste first and then use “Swap rows and columns”.
From here, pick the form that fits the question: a bar chart to compare, a line graph for a trend, a pie chart for shares. For text files exported from other systems, see CSV to chart.