GALAXY OF TOOLS

CHARTS SECTOR

Line Graph Maker

Plot one or more data series as a line graph with markers, titles and labels. Download PNG, SVG or PDF.

X label
Remove row

Type in the table, or paste cells straight from Excel or Google Sheets into any cell. Enter moves down a column.

Paste or open a CSV

Bean plant height over 8 weeks (example)Height (cm)05101520253012345678WeekSunny windowShady corner

8 points, 2 series. Sunny window goes from 1.2 to 28.1.

Your chart is saved in this browser only — nothing is uploaded.

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

Free for everyone. If this tool saved you time, buy me a coffee.

A free line graph maker for trends and comparisons

This line graph maker plots the numbers in your table as one or more lines, so you can see how something changes from one point to the next: a plant growing week by week, monthly sales, temperatures through the day, marks across terms. Type the values or paste cells from Excel or Google Sheets and the graph redraws immediately.

Plot up to eight series on one graph, give each its own colour and marker shape, add axis titles and value labels, smooth the curves, shade the area under the lines or space the points by their real x values. Then download a sharp PNG, an editable SVG or a vector PDF, or print it. The graph is drawn in your browser, and your data never leaves your device.

How to use the Line Graph Maker

  1. Edit the example table or press Start blank. Each row is one point on the x axis; each column is one line.
  2. Add more lines with Add series, and rename each one in the column header. Paste cells from a spreadsheet, or open Paste or open a CSV for comma, tab or semicolon text with a header row.
  3. Write the title and the x and y axis names. Leave a cell blank where a value is missing: the line stops and restarts instead of drawing a false value.
  4. Switch markers, smooth curves, shaded area, value labels and gridlines on or off. Use Space points by x value when the x labels are numbers such as years.
  5. Press Download PNG, SVG or PDF, or Print. “Data as CSV” saves the table.

Line Graph Maker features

Several series, distinct without colour

Each series gets a different marker shape (circle, square, triangle, diamond) and can have its own dash pattern, so the lines still differ in a black-and-white print or for readers with colour-vision differences. The default palette is Okabe-Ito.

Honest gaps and axis

Blank cells leave a gap instead of a made-up value. The y axis starts at zero when the data is close to it, and otherwise fits the data; you can set the start and end yourself.

Numeric x spacing

If your x labels are numbers (2000, 2001, 2010) the points can be placed by value, so a ten-year gap looks ten times longer than a one-year gap.

Smooth curves without overshoot

The smooth option uses a monotone curve, which never swings above the highest or below the lowest neighbouring value.

Print-ready exports

PNG at twice the screen size, SVG, a vector PDF with real text, and a print view containing only the graph.

How the line graph is drawn

The y axis covers the smallest to the largest value with a “nice” step (1, 2 or 5 times a power of ten) so the gridlines fall on round numbers. If all values are positive and the smallest is no more than half the largest, the axis starts at zero; otherwise it starts just below the minimum so the lines are not squashed. Shading under the lines always includes zero. Points are joined in the order of the rows, so enter them in the order you want them plotted, normally oldest first.

With Smooth curves on, a monotone cubic curve passes through every point. It is only a drawing aid: the curve between two points is not a measurement, so leave it off when the straight steps matter. With many points the x labels are thinned automatically, and the graph grows wider than the panel so you can scroll or use Fit.

When to use a line graph

Use a line graph when the horizontal axis is ordered, usually time, and you want to show a trend, a rise or fall, or how several series move together. For comparing separate categories a bar graph is clearer, and for parts of a whole use a pie chart. To draw a mathematical function such as y = 2x + 3 from its formula rather than from a table, use the function grapher; to find the slope between two points, try the slope calculator.

  • Limit a graph to about four or five lines; label them in the legend or by using different markers.
  • Do not connect points when the x values are unrelated categories; a bar graph says that honestly.
  • Use value labels sparingly: they help on a handful of points and clutter a long series.
  • Keep the y axis starting at zero when you compare sizes, and say so in the axis title if you cut it.

Line Graph Maker FAQ

How do I make a line graph online for free?

Edit the example table or paste your own numbers, add a title and axis names, and press Download PNG. There is no sign-up and nothing to install.

Can I plot more than one line?

Yes. Use Add series for up to eight lines. Each has its own colour, marker shape and optional dash style, and a legend is added automatically.

How do I plot x values like years that are not evenly spaced?

Enter numbers in the x label column and tick Space points by x value. The points are then placed in proportion to the numbers.

What happens with missing values?

Leave the cell blank. The line breaks at that point instead of joining across the gap, and the note under the graph tells you.

Can I paste data from Excel or Google Sheets?

Yes. Copy the cells and paste into the first table cell, or use Paste or open a CSV, where a first row of text names the series.

Is my data uploaded anywhere?

No. The graph is drawn in your browser and saved only in this browser’s storage so you can return to it.

You might also need