CSV/Excel Chart Studio
Turn CSV, TSV or Excel data into line, bar, pie, scatter or histogram charts with SVG/PNG export.
How it works
Upload a CSV, TSV or XLSX file (up to 20 MB) or paste a table. The studio detects numbers, dates and categories, lets you pick the chart type, X/Y columns, a grouping column, aggregation (sum, average, count …), sorting and top-N, and returns an accessible SVG chart with SVG and PNG downloads plus the data table behind it.
- The upload is identified by its content: XLSX (a ZIP container) is unpacked with a built-in reader (shared strings, number formats for dates, cached formula values of the chosen sheet); everything else is read as UTF-8 text (Windows-1252 as fallback) and split with the delimiter that gives the most consistent column count.
- Each column is classified as number, date or text when at least 90 % of its non-empty cells parse that way. Numbers may use thousands separators, a decimal comma (detected per column), currency signs, percent signs and (123) for negatives. Day/month order of dates like 03/04/2026 is detected per column; when the data never disambiguates it, day-first is assumed and stated.
- For bar, stacked, pie, line and area charts, rows with the same X value are combined with the chosen aggregation (automatic = sum). With a group column, the first Y column is split into one series per group value (at most 8; the rest become "Other"). Top N keeps the categories with the largest totals.
- Charts are drawn by the site’s own SVG library: colour-blind-safe Okabe–Ito colours plus dash patterns or marker shapes, a text alternative, and the data table below. PNG images are rendered from the same SVG at 2× resolution with ImageMagick.
- Very large inputs are reduced for drawing only: lines with more than 2,000 points show bucket averages, scatter plots with more than 5,000 points show every n-th point; the table and CSV keep all values.
Check that the detected column types and the aggregation match your data before publishing a chart.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
RavingDesk Paper trading & data workspace
Practise trading on paper and chart your data: orders, risk, datasets, analyses, reports.
-
Deckwright Slide deck studio
Write Markdown, get an accessible slide deck — charts, diagrams, PDF, HTML and PowerPoint.
Related tools
- Embeddable Chart Builder – Make a self-contained chart to embed anywhere: inline SVG, standalone HTML, accessible snippet.
- Time-Series Explorer – Resample, smooth and decompose date/value data: trend, R², seasonality, YoY change and anomalies.
- Geo Data Visualizer – Map CSV coordinates or GeoJSON as points, proportional circles, hex-bin heatmaps or choropleths.
How to use the CSV/Excel Chart Studio
Turn a CSV, TSV or Excel table into a bar, line, pie, scatter or histogram chart, with sensible aggregation and SVG/PNG downloads.
What it is for
You have a spreadsheet export (bank transactions, shop orders, survey answers, sensor readings) and want a clear chart from it without wrestling with a spreadsheet's chart wizard. Upload a CSV, TSV or .xlsx file, or paste the table. The studio works out which columns are numbers, dates and categories, picks a sensible chart, and combines repeated values for you. You get an accessible SVG with a text alternative, SVG and PNG downloads, and the aggregated table behind the chart as CSV.
It reads one sheet at a time and makes one chart per run. It doesn't join files or do statistics beyond aggregation. For trends, seasonality and anomalies over time, use the Time-Series Explorer. For a chart to embed on your website, use the Embeddable Chart Builder.
Worked example
We pasted a small German-style household export: semicolons as separators, dates like 03.01.2026 and amounts with a decimal comma (84,20). It has 10 rows with the columns Datum, Kategorie and Betrag. Chart type bar, X = Kategorie, Y = Betrag.
Result: "Chart "Betrag by Kategorie" (bar) from 10 rows: 3 categories × 1 series."
- The delimiter was detected as
;. Datum was recognised as a date, Kategorie as a category and Betrag as a number, with the decimal comma handled correctly. - Repeated categories were summed: Lebensmittel 372, Miete 1900, Freizeit 125.5. Those are the exact sums of the five, two and three entries.
With everything on auto, the same data became a line chart of Betrag by Datum, because the first date column is used as X when there is one. Auto is a starting point. The bar chart by category answers the real question better.
The built-in example shows grouping. Revenue by month with Region as the group column and a stacked chart gives 4 months × 2 series (North and South), for example 2026-01: North 12,400 and South 9,800.
How to read the result
- Columns lists the type detected for each column. If a number column shows up as text, a stray value like "n/a" or a unit in some cells is the usual cause. 90 % of cells must parse.
- Chart settings (type, X, Y, aggregation, sort) say exactly what was drawn. Read the aggregation line: sum and average tell very different stories.
- Data table is the aggregated data behind the chart. Check a total against your spreadsheet before you publish.
- Assumptions record decisions like the delimiter, day-first dates or automatically chosen columns.
Tips and common mistakes
- Choose the aggregation deliberately. Sum suits money and counts. Average suits prices, temperatures and ratings. Count suits "how many orders per day".
- Use Top N with "Other" for long category lists. A pie with 30 slices is unreadable, while 6 slices plus "Other" works.
- A group column splits the first Y column into series (up to 8). It's ideal for stacked bars of revenue by region.
- Ambiguous dates like
03/04/2026are read day-first unless the column proves otherwise. Use ISO dates (2026-04-03) if you can. - For old
.xlsfiles, save them as.xlsxfirst. Formulas are read from their cached values, so open and save the file in Excel if values look stale. - Huge files are thinned for drawing only (lines over 2,000 points, scatters over 5,000). The table and CSV keep every value.
FAQ
Which chart type should I pick?
Bar for comparing categories, line or area for values over time, stacked for parts of a total over time, pie or donut for a few shares of one total, scatter for two numeric columns, and histogram for the distribution of one numeric column.
Why are my numbers wrong after the upload?
Usually a decimal-comma/thousands-separator mix or a text cell inside a number column. Check the detected column types and the data table. The detection works per column.
Are the colours accessible?
Yes. The charts use the colour-blind-safe Okabe–Ito palette plus dash patterns or marker shapes, and the SVG carries a text description.
Is there a size limit?
Files up to 20 MB, CSV/TSV/TXT or .xlsx.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://csvexcelchartstudio.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://csvexcelchartstudio.usefulweb.site/mcp· tool namecsv_excel_chart_studio
Example request
curl -s -X POST https://csvexcelchartstudio.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"data":"Month,Region,Revenue,Orders\n2026-01,North,12400,310\n2026-01,South,9800,250\n2026-02,North,13900,342\n2026-02,South,10150,262\n2026-03,North,15100,371\n2026-03,South,11800,290\n2026-04,North,14650,355\n2026-04,South,12900,301","chartType":"stacked","x":"Month","y":"Revenue","group":"Region","png":false}'