Skip to content
LoveToCalc

Line graphs

Measured points along an ordered axis, joined by straight lines: the chart for change.

What the chart shows

A line graph has an ordered quantity along the horizontal axis, usually time in days, months or years, and what is measured along the vertical axis. Each measurement is a point, and the points are joined by straight lines in the order of the horizontal axis. UNECE’s guide to presenting statistics calls the line chart an effective tool for showing trends over time and the most appropriate chart for time series.

Height (cm)05101520123456
A seedling measured once a week, weeks 1 to 6, in centimetres.
The data behind the figure
PointHeight (cm)
13
26
310
415
518
620

Each segment shows the change from one measurement to the next. How large the change is shows as a difference in height, and how fast it is as a slope: the steeper the segment, the larger the change per unit of time. Several series can be drawn in one chart, one line for each country for example, and are then compared against the same axes.

How to read it

When it fits and when it does not

A line graph fits when the horizontal axis has an order and the values between the points have a meaning, such as time, age or temperature, and when the development is what the reader should see. It handles many points and several series in one chart better than bars do.

It does not fit when:

Common mistakes

Going deeper: line graphs and graphs of functions

A graph of a function and a line graph look alike but say different things. A function has a value for every x in its domain, and the graph between two points is as true as the points. A line graph of measurements has only its points; the line between them is an interpolation, an estimate, and it assumes an even change between the times of measurement.

That is the reason the measured points are marked on a line graph: the reader should see what is measured and what is drawn. When the measurements are close together, such as the temperature every hour, the difference is small. When they are far apart, such as one measurement a year, a lot can have happened between the points.

The line graph for time series is old. According to Ian Spence, who has written on the origins of statistical charts, William Playfair was in 1786 the first to advocate and popularise line graphs for time series in statistics.

See also

Formulas

Exercises and tools

Sources

Updated November 7, 2026