Line Graph Maker
FV-50Paste a column of labels and one column per line, and see the line graph update as you type. Each line gets its own color and marker shape, and you can save it as SVG or PNG.
Runs in your browser. Nothing is uploaded.
Data (CSV or tab)
Line graph
How to use it
- Paste the data with a header row: the X axis labels (months, dates, steps) in the first column and one column per line.
- Type a title and axis titles.
- Choose whether the Y axis starts at zero and whether points get markers or value labels.
- Download the line graph as PNG or SVG, or copy the SVG code.
How the X axis works
The first column is read as labels and the points are spaced evenly in the order you paste them, like the category axis in a spreadsheet line chart. That suits months, quarters, weeks or test runs. It does not space points by date or by number, so 1, 2 and 10 sit at equal distances. If the X values are measurements and the gaps between them matter, use the scatter plot maker on this site, which has a numeric X axis.
Y axis range and negative values
By default the Y axis fits your data with round steps of 1, 2 or 5 times a power of ten, so small changes stay visible. Tick Y axis from zero when the size of the change should be judged against zero, for example when showing growth. Negative values are drawn below the zero line and the axis extends to include them. Tick labels are rounded to the step, so you never see a label like 0.30000000000000004.
Telling lines apart
Each line uses a color from a color-blind safe palette and a different marker shape (circle, square, triangle, diamond), so the legend still works in grayscale print or for readers who cannot tell two colors apart. Up to 12 lines fit; past the palette size the colors repeat, so add your own colors if you have many lines. In the downloaded SVG, hovering a marker shows that point's exact value.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
Row 6, column "Store B" is empty. Fill in a number or remove the row. | A point is missing a value. The graph does not guess or leave a silent gap. | Fill in the value, or remove that row if the whole period is missing. |
Only one column found. Put the labels in the first column and the numbers in the next, separated by commas or tabs. | The tool could not split the rows into columns. | Separate the label and the values with a comma or tab, and add a header row. |
Questions people ask
How do I put two lines on one graph?
Add one column per line next to the label column, each with a header such as Store A and Store B. Every number column becomes its own line with a color, a marker shape and an entry in the legend.
Why does my line graph not start at zero?
The Y axis fits the range of your data so that changes are easy to see. Tick Y axis from zero to force the axis down to zero; it then also covers the space between zero and your smallest value.
Can I use dates on the X axis?
Yes, as labels. Dates are shown in the order you paste them and spaced evenly, so sort them first and keep the steps regular. They are not placed on a time scale, so an uneven gap between two dates is not shown as a longer distance.
What happens if a value is missing?
The graph stops and the message names the row and column of the empty cell. Fill it in or remove the row. This avoids drawing a line straight across missing data, which would look like a real value.
Can I edit the line graph after downloading it?
Download SVG gives a plain vector file with real text and paths, so you can change colors, fonts or labels in Figma, Illustrator, Inkscape or a text editor. Copy SVG puts the same code on the clipboard to paste into HTML.
About this tool
Paste CSV or tab-separated data (for example straight from a spreadsheet) with a header row first. The first column gives the points along the X axis, which are spaced evenly in the order you paste them (it is a category axis, not a number or date scale; use the scatter plot maker for numeric X values). Each further column becomes one line with its own color and marker shape. The Y axis uses round steps and follows your data unless you tick Y axis from zero; negative values are fine. Empty or non-number cells stop the chart with the row and column named, so gaps are not drawn. Up to 2,000 points per line and 12 lines.