Line Graphs: Definition, Method and Examples

MathPublished

Line Graphs: Definition, Method, and Examples

A line graph plots related numerical values, often measurements over time, and connects the points in a meaningful order. Use labelled axes, an even scale, and a descriptive title, then describe rises, falls, and comparisons using the actual values.


Line graphs are one of the most common ways to visualize continuous data. By connecting individual measurements with straight segments, these graphs make it easy to see how a quantity changes from one observation to the next.


Whether you are tracking daily temperatures, monthly sales, or the growth of a plant, learning to draw a line graph properly ensures your data tells an accurate story.

What is a line graph?

A line graph, also known as a line chart, is a visual tool that displays information as a series of data points connected by straight line segments.


When the horizontal axis represents time, this type of display is often called a time series graph. The connected points guide the eye from left to right, revealing trends, patterns, and fluctuations in the data.


A line graph titled Daily Temperature showing points plotted on a coordinate grid. Labels point out the title, y-axis for temperature, x-axis for days, a data point, and a line segment.


Every complete line graph includes a title explaining the graph's purpose, a horizontal axis showing the independent variable, and a vertical axis showing the dependent measurements.

Choose connected data

A line graph is the right choice when your data points are connected in a meaningful sequence.


Before creating any graph, you must begin with clear data collection. If you are recording the temperature outside every hour, those measurements share a continuous relationship. The temperature smoothly transitioned from one reading to the next. Connecting these points makes mathematical sense.


In contrast, if you are counting the favorite colors of students in a class, those categories are unrelated. Red does not transition into blue. For unordered categories, bar charts are the correct choice. Connecting separate, unrelated categories with a line segment is mathematically incorrect.

Set up labelled axes and scales

An accurate graph requires properly scaled axes that match your data range.


After organizing your measurements into frequency tables or a simple time-series table, locate your minimum and maximum values. Your vertical scale must cover this entire range.


More importantly, your scale must use even, consistent intervals. If each grid line represents 55 units, it must always represent 55 units. You cannot jump from 00 to 1010, and then suddenly jump from 1010 to 5050 in the same physical space. An uneven scale distorts the data and creates a misleading graph.


Whenever possible, start your vertical axis at 00. This ensures the visual height of each point is proportional to its actual value.

Plot and connect points

Follow a consistent method to turn your data table into a finished graph.

  1. Draw and label the horizontal and vertical axes.
  2. Add evenly spaced numbers to the vertical axis, ensuring the scale covers your highest value.
  3. Add the time intervals or categories in order along the horizontal axis.
  4. For each pair of values in your table, move across to the correct horizontal position, move up to the correct vertical value, and draw a dot.
  5. Use a straight edge to connect the dots in order from left to right.
  6. Add a clear, descriptive title to the top of the graph.

A side-by-side comparison showing a data table of weekly savings and a line graph plotting those exact points, demonstrating how tabular data translates to a coordinate grid.

Describe change over time

Once your data is plotted, the line segments reveal the overall behavior of the measurements. We describe these behaviors as trends.

Three small line graphs showing different trends. The first shows an increasing line moving upward, the second shows a decreasing line moving downward, and the third shows a constant, flat horizontal line.


An increasing trend means the values are getting larger, shown by a line segment sloping upward. A decreasing trend means the values are getting smaller, shown by a line segment sloping downward. A flat, horizontal line means the value remained unchanged during that interval.

Worked examples

By carefully tracing lines from the axes to the plotted points, we can extract specific values and calculate changes.

A line graph titled Book Sales showing months from January to May on the horizontal axis and number of books sold from 0 to 50 on the vertical axis. The plotted points are Jan 20, Feb 30, Mar 10, Apr 40, and May 45.


Example 1: Finding extreme values


Question: Using the Book Sales graph, in which month were the fewest books sold, and how many were sold?


Method:

  1. Look for the lowest point on the entire plotted line.
  2. Move straight down from that point to read the month on the horizontal axis.
  3. Move straight to the left from that point to read the value on the vertical axis.

Answer: The fewest books were sold in March. The total was 1010 books.


Check: The point for March is visibly lower than every other plotted point, confirming it is the minimum value.


Example 2: Calculating a change


Question: How many more books were sold in April compared to February?


Method:

  1. Locate April on the horizontal axis, move up to the plotted point, and look left to find the vertical value (4040 books).
  2. Locate February on the horizontal axis, move up to the point, and look left to find the vertical value (3030 books).
  3. Subtract the February value from the April value.
  4. 40−30=1040 - 30 = 10.

Answer: There were 1010 more books sold in April than in February.


Check: The graph rises by one full grid line (1010 units) between the height of February and the height of April.

Common mistakes

When drawing and reading line graphs, be careful to avoid these frequent errors:

  • Connecting unordered categories: A line graph is not suitable for separate, unrelated categories. It is an error to connect category labels in any order (such as flavors of ice cream or names of cities) because the slope of the line between them has no mathematical meaning.
  • Creating uneven scales: Skipping numbers or changing the interval size on the vertical axis warps the visual shape of the line. The physical distance between grid lines must always represent the same mathematical difference.
  • Misunderstanding the line segments: While segments connect data points, a segment does not guarantee that values were actively measured at every moment in between. It is an estimation, or interpolation, of what happened between the exact recordings.

Frequently asked questions

Can a line graph display more than one set of data?

Yes. You can plot two or more lines on the same axes to compare different sets of data over the same time period. This is called a multiple line graph. It usually requires a legend or key to explain what each line represents.


Do line graphs always start at zero on the vertical axis?

While starting at zero is the most accurate way to show proportions, sometimes a data range is far away from zero (for example, temperatures between 90∘90^\circC and 100∘100^\circC). In these cases, you might start the scale at a higher number, but you should clearly mark a break in the axis to warn the reader.


What happens if I miss a reading in my sequence?

If a piece of data is missing (for instance, you forgot to record the temperature on Wednesday), you usually leave a gap in the line rather than drawing a continuous segment across the missing time, so you don't imply data exists where it does not. Practicing interpreting data graphs will help you spot these missing intervals quickly.

Practice questions

Question

A line graph tracking Plant Height. The horizontal axis shows Week 1, 2, 3, 4, 5. The vertical axis shows height from 0 to 20 cm. Points plotted are: Week 1 at 4, Week 2 at 8, Week 3 at 10, Week 4 at 15, Week 5 at 18.

Based on the graph, what was the height of the plant at Week 44?

  • 10 cm10\text{ cm}

  • 15 cm15\text{ cm}

  • 18 cm18\text{ cm}

  • 20 cm20\text{ cm}

Answer:

15 cm15\text{ cm}

Question

A line graph showing Temperature over time. The line starts high at 8 AM, slopes downward until 12 PM, and then slopes upward until 4 PM.

During which time interval does the graph show an increasing trend?

  • Between 8 AM and 10 AM

  • Between 10 AM and 12 PM

  • Between 12 PM and 2 PM

  • Between 8 AM and 12 PM

Answer:

Between 12 PM and 2 PM

Question

Which of the following data sets is best displayed using a line graph?

  • The number of students who own cats, dogs, or birds

  • The population of a city recorded every ten years

  • The different types of cars parked in a parking lot

  • The favorite pizza toppings of teachers at a school

Answer:

The population of a city recorded every ten years

Question

A line graph titled Running Distance. Horizontal axis shows Time at 5 mins, 10 mins, 15 mins. Vertical axis shows Distance in meters from 0 to 800. At 5 mins distance is 200, at 10 mins distance is 400, at 15 mins distance is 700.

How many meters did the runner cover between the 1010-minute mark and the 1515-minute mark?

  • 200 m200\text{ m}

  • 300 m300\text{ m}

  • 400 m400\text{ m}

  • 700 m700\text{ m}

Answer:

300 m300\text{ m}

Question

A flawed line graph showing an uneven vertical scale. The vertical axis labels are spaced evenly physically, but the numbers jump from 0 to 10, then to 50, then to 100.

Why is the line graph shown above misleading?

  • It does not connect the points in order.

  • The months are not written correctly on the horizontal axis.

  • The vertical scale is uneven.

  • It starts at zero instead of ten.

Answer:

The vertical scale is uneven.