Skip to content
OddsockLocal
Local
Source text
ItemQuantity
Notebook12
Pencil4
3 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the CSV into Source text, with a header row and at least one numeric column.
  2. Set Chart to bar, line, scatter, histogram, or pie.
  3. Type the numeric header in Numeric column, or leave it blank to use the second column.
  4. Type the label header in Label or scatter X column, or leave it blank to use the first column.
  5. Copy or download the SVG.

What is Chart a CSV?

A two-column sheet is already a chart: labels in one column, amounts in the other. Chart a CSV reads the header, takes the numeric series you name, and draws an SVG. Leave Numeric column blank and the second column is the series. Leave Label or scatter X column blank and the first column names the bars, the pie slices, and the line's point titles.

Read more

Bar and line charts include zero in the scale, so a series of 12 and 4 is drawn against a baseline of 0. Pie slices have to be zero or positive and total more than zero. A histogram bins one numeric column. A scatter plot needs a numeric X column as well as a numeric Y. Point the series at a text column and the page stops with a message that the series must contain finite numbers.

Use cases

  • A shop manager charts Quantity by Item to see that notebooks outnumber pens on a tiny stock sheet.
  • A teacher pastes two columns and switches Chart from bar to pie to show the same 12 and 4 as shares.
  • An analyst draws a histogram of a single measurement column to see where the values clump.
  • A QA engineer plots a numeric timestamp against a numeric reading as a scatter plot.
  • Someone preparing a slide downloads the SVG and drops it into a deck that still needs the axis title.

Bars for Notebook 12 and Pen 4

Item,Quantity / Notebook,12 / Pen,4. Chart left on bar. Numeric column blank, so Quantity is the series. Label column blank, so Item names the bars.

An SVG 600 wide and 96 tall, titled Quantity. Notebook is a steel-blue bar 400 units wide. Pen is a bar 133.33 units wide, because 4 is one third of 12 on a scale that starts at 0. A pie of the same sheet titles the slices Notebook: 12 and Pen: 4.

Why use Oddsock

The chart is drawn from the parsed columns, with the blank-field defaults pointed at a normal two-column sheet, and the file you keep is the SVG.

Related tools

Using this tool

The scale runs from 0 to the largest value, 12. Pen is 4, and 4 / 12 of the 400-unit bar length is 133.33.