Skip to content

Line Graph Maker

Enter values in order, such as weeks or months, to draw a line graph. Add more columns to plot several lines on the same axes.

Free, no sign-up · Last updated

Data

LabelActions

Chart options

Chart colors

Numbers

Categories

6

Series 1

First
2
Last
9
Change
7
Percent change
350%
Highest
9
Lowest
2

Definition

What a line graph shows

A line graph connects points in their horizontal order to show movement across time or another ordered scale. Each point pairs a position with its corresponding value. The segments show the direction and size of changes between adjacent points.

Use for
Measurements with a meaningful order
Keep comparable
Units and scales across series
Check spacing
Equal gaps can hide unequal time intervals

How to make a line graph

Each row is one point along the horizontal axis, usually a time such as a day, week, month or year. Enter the label and the value, in order from earliest to latest. The maker spaces the labels evenly and joins the points with straight lines. You can type in the table or paste rows from Excel or Google Sheets, where commas, tabs, semicolons and colons all work between the columns.

For a graph with several lines, start with a heading row that names each column. Give the graph a title, label the horizontal axis with the time unit (Week) and the vertical axis with the measurement and its unit (Height (cm)). Show the points, the values or both, and choose a color for each line so they are easy to tell apart in the legend.

Worked example: bean plant height

A student measured a bean plant every week for six weeks: 2 cm, 3.5 cm, 5 cm, 7 cm, 8.5 cm and 9 cm. This is the example in the maker. Over the whole experiment the plant grew 9 − 2 = 7 cm, which is a 7 ÷ 2 × 100% = 350% increase on its starting height. Over the five weekly intervals that is an average of 7 ÷ 5 = 1.4 cm per week.

The line is steepest between weeks 3 and 4, when the plant grew 2 cm, and flattest between weeks 5 and 6, when it grew only 0.5 cm. That flattening is easy to see on the graph and would be easy to miss in a table. If a second plant were grown in shade, adding a Plant B column would put both lines on one graph for a direct comparison.

Reading a line graph

Look at the overall trend first: is the line rising, falling or level? Then look for where it changes fastest, which is the steepest part, and for any points where the direction changes. Read values from the scale on the vertical axis, and remember that a point between two labels is an estimate made by joining the line, not a measurement.

When two lines are on one graph, compare where they cross, which is where the two quantities are equal, and which line is higher over each stretch. A wider gap between them means a bigger difference at that time.

Avoiding misleading line graphs

Space the times evenly only if the measurements were taken at even intervals. If you measured in weeks 1, 2 and 6, the jump to week 6 covers four weeks. Label it clearly, or use a scatter plot with week numbers on the x-axis so the spacing is true to time.

Do not join points that are not in a real order, such as different students or cities. Joining them suggests a change from one to the next that does not exist, and a bar graph or scatter plot is the right choice. To find the percent change between any two values, use the percent change calculator.

Step-by-step example

A bean plant measured once a week for six weeks has recorded heights of 2, 3.5, 5, 7, 8.5 and 9 cm.

StepResult
Week 1 height2 cm
Week 6 height9 cm
Total growth7 cm
Growth relative to week 1350%

Formulas used

Change and rate of change

Change = last value − first value

Percent change = change ÷ first value × 100%

Average rate of change = change in y ÷ change in x

x
horizontal coordinate, such as time
y
vertical coordinate, the measured value

Example: Bean plant: change = 9 − 2 = 7 cm; percent change = 7 ÷ 2 × 100% = 350%; average rate = 7 ÷ (6 − 1) = 1.4 cm per week.

When the answer can mislead

  • A sloped segment between two observations can hide a reversal that happened between measurements.
  • With uneven dates on a category axis, a steeper segment can give the wrong impression of a faster rate.
  • A tightly cropped vertical scale can make a small movement look large.

Questions

How do I make a line graph?

Enter one row per point in time, with a label and a value, such as Week 1, 2. Fill in the table or paste the columns from a spreadsheet. The points are joined in the order you enter them. Add a title and axis labels, pick a line color, and download the graph as a PNG or SVG, or print it.

How do I put more than one line on the graph?

Add a heading row and one column per line, for example Week, Plant A, Plant B, then a row of numbers under it for each week. Each column becomes its own line in its own color, with a legend that uses the column headings as names. That makes it easy to compare two or more things measured at the same times.

When should I use a line graph instead of a bar graph?

Use a line graph when the values are measured in order over time or another steady sequence, and the change between points matters, as with temperature by month or height by week. Use a bar graph when the categories are separate things with no order, such as favorite sports.

Does the y-axis have to start at zero?

Not for a line graph. The slope of the line carries the information, and starting near the data can make small but real changes visible, such as body temperature. Starting at zero gives a fairer sense of size, though, so turn it on when the actual amounts matter. Either way, label the axis clearly.

How do I find the rate of change from a line graph?

Pick two points and divide the change in y by the change in x. In the example the plant grows from 2 cm in week 1 to 9 cm in week 6, so the average rate is (9 − 2) ÷ (6 − 1) = 1.4 cm per week. The steepest part of the line is where the change is fastest.

What if I am missing a value?

Leave that week out rather than entering 0, unless the true value was 0. An entry of 0 would draw the line down to the axis and suggest a sudden drop that never happened. The points on either side of the missing week are joined directly.

Last updated How we check
Embed this calculator
Cite this calculator

Line Graph Maker. CalculatorLab. https://calculatorlab.site/calculators/line-graph-maker/. Last updated .