November 10, 2026
By Jacky Fan
14 min read

What Is a Line Graph? Definition, Parts & Examples

A line graph joins data points with a line to show how a value changes over time. See the definition, what one looks like, its parts, uses, and an example.

A line graph is one of the first charts most of us learn to read, and one of the most useful. It turns a list of numbers into a shape you can read at a glance: rising, falling, flat, or bouncing around.

Quick answer: A line graph (also called a line chart) plots data points on a grid and joins them with a line to show how a value changes across an ordered sequence, most often time. The horizontal x-axis shows the sequence, such as days, months, or years. The vertical y-axis shows the value being measured, such as sales, temperature, or population.

This guide explains what a line graph is, what one looks like, what it is used for, and how it differs from other charts. When you are ready to build one, the line graph maker turns pasted data into a finished graph.

What does a line graph look like?

Picture a grid with two axes meeting in the bottom-left corner. The horizontal axis along the bottom is the x-axis, and the vertical axis up the left side is the y-axis. Each data point sits where its x-value and y-value meet, and a line runs from one point to the next. Reading left to right, the line climbs when the value grows, falls when it shrinks, and stays level when nothing changes.

Here is a small example: a shop's monthly sales for the first half of a year (illustrative numbers, not real data).

MonthSales (USD thousands)
Jan12
Feb15
Mar14
Apr19
May24
Jun28

Plotted as a line graph, the line starts at 12 in January, edges up in February, dips slightly in March, and then climbs steadily to 28 in June. One glance tells you the overall trend is upward with a small wobble in March, which would take far longer to spot in the table.

To see it yourself, paste this data into the line graph maker as CSV, or open the ready-made basic line chart example.

Month,Sales
Jan,12
Feb,15
Mar,14
Apr,19
May,24
Jun,28

How do you read a line graph?

Reading a line graph takes four steps, and the shop sales example is a good one to practice on.

  1. Read the title and the axis labels. They tell you what is measured (sales in USD thousands) and over what sequence (months, January to June).
  2. Look at the overall shape. Does the line rise, fall, or stay level? Here it rises, so sales grew.
  3. Find the steepest and flattest stretches. The steepest climbs are March to April and April to May, each up 5. The only fall is February to March, down 1.
  4. Read exact values and compare. Sales went from 12 to 28, an increase of 16 thousand dollars, which is more than double (28 ÷ 12 is about 2.3). That is an average of 3.2 thousand dollars more each month (16 ÷ 5).

Always check the scale before you trust the shape. A y-axis that starts at 10 instead of 0 would make the same data look more dramatic. For a longer method with more examples, see how to read a line graph.

A second example: two lines on one graph

A line graph can carry more than one series. Here are the daily high temperatures in two towns over a week (illustrative numbers, in °C):

DayTown ATown B
Mon1812
Tue2013
Wed2215
Thu2118
Fri2417
Sat2619
Sun2518
Day,Town A,Town B
Mon,18,12
Tue,20,13
Wed,22,15
Thu,21,18
Fri,24,17
Sat,26,19
Sun,25,18

With both lines on the same axes, you can see that Town A is warmer every day, that both towns warm up through the week, and that the gap is smallest on Thursday, when Town A cools by 1 degree while Town B jumps by 3. On the other days the gap is 6 or 7 degrees. That is the advantage of a multiple line graph: the comparison is visible without reading a single number. When you paste data like this into the line graph maker, each column after the first becomes its own line.

The parts of a line graph

Every line graph is built from the same handful of parts:

PartWhat it does
TitleSays what the graph shows and over what period
X-axisThe horizontal axis; holds the ordered sequence, usually time
Y-axisThe vertical axis; holds the measured value
Axis labels and unitsName what each axis measures, for example "Sales (USD thousands)"
ScaleThe range and spacing of the numbers on each axis
Data pointsThe individual measurements, plotted where x and y meet
LineJoins the points in order so the trend is visible
LegendIdentifies each line when there is more than one series
GridlinesFaint guides that make values easier to read

Each part has its own common pitfalls, which we cover in parts of a line graph. If the axes are what confuse you, start with x and y axis explained.

Key terms

TermMeaning
SeriesOne line, made from one column of values
Data pointOne measurement, plotted at its x and y position
TrendThe general direction of the line: up, down, or flat
Peak and troughThe highest and lowest points on the line
OutlierA point far from the rest, which may be a mistake or a real event
IntervalThe gap between two neighboring x-values, such as one month
BaselineThe starting value of the y-axis, ideally zero or clearly marked
Rate of changeHow fast the value moves, shown by the steepness of the line

What is a line graph used for?

A line graph answers one question better than almost any other chart: how does something change as we move along a sequence? That makes it the default choice for:

  • Tracking a trend over time: monthly revenue, daily website visits, yearly population.
  • Comparing several series on the same scale: the sales of two products across a year.
  • Spotting patterns: seasonality, peaks and dips, sudden jumps or drops.
  • Showing the rate of change: a steeper line means faster change, which is the idea behind the slope of a line graph.
  • Tracking progress against a target: a second, flat line can mark the goal.

You will see line graphs everywhere: temperature through a week, a stock price through a year, a patient's readings through a hospital stay, test scores through a school term. Our line chart examples collect more than 20 of them across business, science, healthcare, and education, and the revenue growth and climate temperature templates give you data to start from.

Here is how the same idea looks in different fields:

FieldWhat the graph tracksX-axisY-axis
BusinessMonthly revenueMonthRevenue
WeatherTemperature through the dayHourDegrees
HealthA patient's heart rateTimeBeats per minute
FinanceA share priceTrading dayPrice
EducationAverage test scoresTermScore
Web analyticsDaily visitorsDateVisits
PopulationA town's populationYearPeople

A line graph is not always the right pick. When to use a line graph lays out five conditions that make it the right choice.

Line graph or line chart?

They are the same thing. "Line graph" is a little more common in schools and textbooks, and "line chart" is a little more common in business software, but both mean points joined by a line along an ordered axis. You may also see "time series chart" when the x-axis is time.

One term to watch: in school maths, a "line plot" can mean something different, a row of marks above a number line. In data tools, "line plot" usually just means a line chart.

Types of line graphs

The version above is a simple line graph: one series, one line. Common variations include:

The full list, with when to use each, is in types of line graphs.

Line graph vs other chart types

ChartBest forPick it instead when
Line graphChange across an ordered sequence, usually timeYou want to see the trend
Bar chartComparing separate categoriesThe x-axis is unordered, such as products or regions
Scatter plotThe relationship between two numeric variablesYou care about correlation, not sequence
Area chartChange plus the size of the totalYou want to emphasize volume
Pie chartParts of a whole at one momentYou are showing shares at a single point in time

For the bigger picture across every chart family, see types of graphs and charts.

Why do line graphs work so well?

People read a line graph quickly because it relies on position and slope, two things the eye judges well. In a classic 1984 study of graphical perception, William Cleveland and Robert McGill found that people compare positions along a common scale more accurately than almost any other visual cue, and a line graph sits on exactly that kind of scale. The connecting line adds a second cue: the angle of each segment shows at a glance whether things are speeding up, slowing down, or reversing.

Strengths and limits

Strengths

  • Trends, peaks, and turning points are visible instantly.
  • It handles many data points without getting crowded.
  • Several series can share one set of axes for easy comparison.

Limits

  • It assumes the x-axis is ordered. For unordered categories, a bar chart is clearer.
  • Joining points suggests the value moves smoothly between measurements, which can mislead when data is sparse or missing.
  • Too many lines turn into spaghetti. Past about five, highlight one line or split the data into several small charts.
  • A y-axis that does not start at a sensible baseline can exaggerate small changes. See line graph best practices.

Common line graph mistakes

  • A truncated y-axis. Starting at 10 instead of 0 makes small changes look dramatic. If you must truncate, say so on the axis.
  • Too many lines. Past about five, readers lose track. Highlight one line or split the data into small charts.
  • Missing units or labels. "Sales" is vague, and "Sales (USD thousands)" is clear.
  • Uneven time intervals drawn as even ones. If the x-values are one month apart and then one year apart, the slope between them misleads. Keep the spacing proportional to time.
  • Connecting unordered categories. A line between "Apples" and "Oranges" implies a progression that does not exist. Use a bar chart.
  • Hiding gaps. If data is missing, show the gap or mark the estimated points instead of drawing a smooth line through it.
  • Two y-axes without warning. Dual axes can make unrelated lines look correlated. Use them sparingly and label both axes clearly.

More of these, with fixes, are in line graph best practices.

How to make a line graph

  1. Decide what the graph should answer. For example: "Is monthly revenue growing?"
  2. Organize the data in two columns: the ordered x-values (dates, months, steps) and the y-values. Add one column per extra series.
  3. Choose the scales. Pick axis ranges that fit the data without exaggerating small changes.
  4. Plot each point and join them in order, left to right.
  5. Label everything: a title, axis labels with units, and a legend if there is more than one line.

For a longer walkthrough, including drawing one by hand, read how to make a line graph. To skip the drawing, paste or upload your data as CSV to the line graph maker and export the result as PNG or SVG.

Line graphs in school maths and science

In the classroom, line graphs are used to practice four skills: plotting points from a table, reading a value from the graph, describing a trend in words, and finding the rate of change. A typical exercise gives a table of a plant's height over several days, asks students to plot it, and then asks questions such as "How tall was the plant on day 6?" and "Between which days did it grow fastest?". With the plant data in our x and y axis guide, the answers are 9 cm and between days 6 and 9. Questions like these lead naturally to the idea of slope, which we cover in slope of a line graph. In science lessons, line graphs record experiments where one variable changes with another, such as temperature against time as water heats.

A brief history

The line graph was introduced by the Scottish engineer William Playfair in his 1786 book The Commercial and Political Atlas, where he used lines to plot England's trade over time. The full story is in our history of the line graph and the William Playfair biography.

Frequently asked questions

What is a line graph in simple words?

A line graph is a chart made of dots joined by a line. It shows how a number changes over time, such as how a town's temperature changes through the day or how a company's sales change through the year.

What is the difference between a line graph and a line chart?

There is no practical difference. The two names describe the same chart. "Line graph" is more common in education, and "line chart" is more common in business and software.

What does a line graph show?

It shows how a value changes across an ordered sequence. From one you can read the overall trend (up, down, or flat), turning points, how fast things change (the steepness of the line), and, with several lines, how series compare.

What are the x-axis and y-axis on a line graph?

The x-axis is the horizontal axis and usually holds time or another ordered sequence. The y-axis is the vertical axis and holds the measured value. Our guide to the x and y axis covers both in more detail.

When should you not use a line graph?

Avoid it when the x-axis is unordered categories (use a bar chart), when you want to show how parts make up a whole (use a pie, donut, or stacked bar), or when you want the relationship between two numeric variables rather than change over a sequence (use a scatter plot).

How many lines can a line graph have?

There is no fixed limit, but a graph becomes hard to read as lines pile up. About five is a practical ceiling for most audiences. Past that, highlight the line that matters or split the data into small charts.

Share this article

Help others discover this content

Published on November 10, 2026

Last updated on November 10, 2026

Written by Jacky Fan

Sponsored