Loading [MathJax]/jax/output/HTML-CSS/jax.js

How to Create a Line Graph

How to Create a Line Graph Video

Hey guys. Welcome to this Mometrix video on how to plot a line graph.

What is a Line Graph?

First things first. What is a line graph? A line graph is a type of chart that helps you to visualize the relationship between two variables. Most often it is the rate of change over time.

You may also have multiple sets of data graphed on one line graph if the same two variables are related.

How to Make a Line Graph

So now, how do you actually make a line graph?

Well, first start by drawing a cross on your paper or whatever you are writing on. The two separate lines represent your x and y axes. The x axis is the line that runs horizontally, and the y axis is the line that runs vertically. Always label your axes!

Next, you need to identify which portion of your data goes on which axis.

So like in this set of data, which column would go on which axis?

Time (months)Height of tree (inches)
124
331
3.534
437
650
755
973
12101

 
Your independent variable should always be on the x-axis, and your dependent variable should always be on your y-axis.

Often times when working with graphs the data you are given is dealing with the rate at which something changes over time. Well, this makes it easier for you to identify your dependent and independent variables. Because time is always independent. You can’t do anything to affect time. You’re constrained by it.

However, like with our data in this case, we can affect the growth of a tree within a given amount of time by manipulating certain variables like soil, fertilizer, catalysts’, temperature, and so on.

So, for this set of data we know that time is our independent variable, so it goes on the x-axis, and the “height of the tree” is our dependent variable, so it goes on the y-axis.

I hope that this video was helpful.

See you next time!

Line Graph Practice Questions

Question #1:

 
Marco recorded the temperature in his city on the first day of every month. He wanted to create a line graph with the data, but he is unsure where to place each variable. Which statement below shows the correct location for each variable?

Place the month on the y-axis and the temperature on the x-axis.
Place the month on the x-axis and the temperature on the y-axis.
It does not matter which variable is placed on which axis, either one will work.
Question #2:

 
A biologist has been studying the hippo population near a small village in Tanzania. Based on the line graph below, what is the difference between the hippo population from 2007 to 2010?
Line graph of number of hippos over several years

An increase of seven hippos.
A decrease of seven hippos.
An increase of eight hippos.
A decrease of eight hippos.
Question #3:

 
The graph below shows the distance traveled by a bus during one school day. What does the highlighted region from Hour 1 to Hour 2 indicate?
Line graph of the distance a bus traveled in 8 hours

Time was passing, and the bus was slowing down gradually.
Time was speeding up and the bus was slowing down.
Time was passing, and the speed of the bus was increasing.
Time was passing, but distance was not increasing. The bus was not moving.
Question #4:

 
Diego is creating line graphs for a math project. He has created the graph below, but the titles for the x– and y-axis were accidentally deleted. Which option below is the most logical match for the x– and y-axis, based on the information that is displayed?
line graph without axis labels

Temperature on the x-axis and Number of Cars on the y-axis.
Hours on the y-axis and Money Earned on the x-axis
Body Weight on the x-axis and Age on the y-axis.
Temperature on the y-axis Month of the Year on the x-axis.
Question #5:

 
How many years did it take for the world’s population to grow from two billion to three billion people?
line graph of world population over the years

11 years
44 years
22 years
33 years
480147

 

by Mometrix Test Preparation | Last Updated: February 10, 2025