Line Graph Maker

Paste periods and values, or upload a spreadsheet, and get a line graph of the trend, with one line per column, ready to download as PNG or Excel.

  • Runs in your browser
  • Free
  • No sign-up

Paste cells from Excel or Google Sheets, or type rows separated by tabs or commas.

Website visitors by monthSeries 2Series 305,00010,00015,00020,000Month · Series 2: 2,025Jan · Series 2: 12,400Feb · Series 2: 11,800Mar · Series 2: 13,900Apr · Series 2: 14,200May · Series 2: 15,600Jun · Series 2: 15,100Month · Series 3: 2,026Jan · Series 3: 15,100Feb · Series 3: 14,650Mar · Series 3: 16,800Apr · Series 3: 17,350May · Series 3: 18,900Jun · Series 3: 19,400MonthJanFebMarAprMayJun
Chart data as a table
Category 1Series 2Series 3
Month2,0252,026
Jan12,40015,100
Feb11,80014,650
Mar13,90016,800
Apr14,20017,350
May15,60018,900
Jun15,10019,400

How to Make a Line Graph Online

  1. Add your data. Paste cells copied from Excel or Google Sheets into the Data box, or upload an .xlsx, .xls or .csv file. The sample data shows the layout.
  2. Check the headers. The first row is used as column names when it has no numbers in it; untick "First row is headers" if that guess is wrong.
  3. Give the chart a title. It is drawn at the top of the image and used for the file names.
  4. Download. PNG for slides, documents and email (drawn at twice the on-screen size so it stays sharp), SVG for print and the web, or Excel for the numbers behind the chart.

When to Use a Line Graph

A line graph shows how a value changes over an ordered sequence, usually time: monthly revenue, daily temperature, weekly sign-ups. The slope between points is the story, so it reads rises, falls and turning points better than bars do.

Several value columns give several lines on the same axis, which is the standard way to compare this year against last year, or one product against another, period by period.

How to Lay Out Your Data

Put the periods (dates, months, years, weeks) in the first column, in order, and one column of numbers per line after it. The points are spaced evenly in row order, so the first column is read as labels: sort it before you paste.

How to Make a Line Graph in Excel

To build the same chart natively in Excel, download the Excel file above (or use your own sheet) and:

  1. Select the periods and the value columns, including headers.
  2. Go to Insert > Insert Line or Area Chart.
  3. Choose Line with Markers (or plain Line for long series).
  4. If Excel plots the periods as a line of their own, open Select Data and move that column to Horizontal (Category) Axis Labels.

When the first column holds real Excel dates, Excel switches to a date axis and spaces points by calendar gaps. Format the dates as text if you want even spacing like this tool's.

What This Line Graph Maker Does Not Do

  • Points are evenly spaced; the x axis is not a true time scale.
  • One shared y axis. Two measures with very different scales belong on two charts.
  • Up to eight lines.

Other Chart Makers

Every chart maker takes the same pasted or uploaded data, and you can switch type in the Chart type box without retyping anything. To chart a whole workbook column by column, with grouping by sum, count or average, use the Excel chart maker.

Frequently Asked Questions

Related Tools