Introduction
Fitting a Line to Data is an important Grade 8 math skill because students are moving from simple answers toward explaining how the math works.
In this lesson, students use models, real questions, worked examples, practice problems, and two online quizzes to build confidence with fitting a line to data.
What Is Fitting a Line to Data?
Fitting a Line to Data means reading, creating, and explaining displays so data can answer real questions.
The goal is not only to get the answer. Students should be able to show the idea, explain the strategy, and check whether the answer makes sense.
Understanding Fitting a Line to Data
Before solving, students should slow down and decide what each number, shape, unit, or label represents.
- Read the title, labels, and scale before answering.
- Use the scale value instead of counting marks as ones when the graph is scaled.
- Compare categories by subtracting or adding values from the display.
- Explain what the data shows in a complete sentence.
Visual Models
Visual Model 1
Question: Which statement best explains why the trend line does NOT pass through every data point?
- A. The data is not perfectly linear; there is natural variation
- B. The trend line is drawn incorrectly
- C. Some data points are too far from the line
- D. The axes are not labeled correctly
Why it works: Real-world data rarely fits a perfect line. A trend line balances passing close to all points, even if it doesn't pass through every one.
Answer: The data is not perfectly linear; there is natural variation
Visual Model 2
Question: Looking at the scatter plot above, approximately what is the profit when the cost is $60?
- A. $80
- B. $60
- C. $40
- D. $20
Why it works: At cost \($60\), the trend line is a little below the \($80\) mark and clearly above \($60\). The closest choice is about \($80\).
Answer: Approximately $80
Worked Examples
Example 1
Question: A runner training program tracks distance over time. Based on the trend line, what is the approximate slope (distance per week)?
- A. 1 km per week
- B. 1.2 km per week
- C. 2 km per week
- D. 0.5 km per week
- Using two points on the trend line, slope \(= \frac{\Delta y}{\Delta x} = \frac{9-1}{8-0.67} \approx 1.2\) km/week.
Answer: Approximately 1.2 km per week
Example 2
Question: Which statement best describes the trend shown in the scatter plot?
- A. There is no relationship between age and height
- B. Age determines height perfectly
- C. Height decreases as age increases
- D. Height increases rapidly with age up to about age 16, then levels off
- The data shows steep growth early, flattening near age 15--16.
- This reflects human biology: rapid growth during childhood and early teens, then plateauing as growth ends in adulthood.
Answer: Height increases rapidly with age up to about age 16, then levels off
Example 3
Question: Based on the trend line, if a student sleeps 7 hours, what is the predicted focus score?
- A. Approximately 5
- B. Approximately 6
- C. Approximately 7
- D. Approximately 8
- Reading from the trend line at \(x=7\), the corresponding \(y\)-value is just under \(7\), so the best estimate is approximately \(7\).
Answer: Approximately 7
Real-World Word Problems
Problem 1
Question: A scatter plot shows the relationship between hours studied (\(x\)) and test score (\(y\)). The line of best fit has the equation \(y = 8x + 50\). What does the slope of 8 represent?
- A. For each hour studied, the test score increases by 8 points on average
- B. The test score when 8 hours are studied
- C. The y-intercept is 8 units above the origin
- D. For each point increase in test score, hours studied increases by 8
Why it works: The slope represents the rate of change. A slope of 8 means for every 1-unit increase in \(x\), \(y\) increases by 8 units.
Answer: For each hour studied, the test score increases by 8 points on average
Problem 2
Question: Two students sketch different trend lines through the same scatter plot. Student A's line has a gentler slope, while Student B's line has a steeper slope. What could explain this difference?
- A. One student made a calculation error
- B. The students used different data sets
- C. Only one line can ever be correct
- D. Sketching a trend line by eye allows for reasonable variation
Why it works: When sketching trend lines by hand, slight differences in slope are natural and acceptable, as long as both lines reasonably balance data on both sides and follow the overall trend.
Answer: Sketching a trend line by eye allows for reasonable variation
Common Mistakes
- Ignoring the graph scale.
- Reading the wrong category or axis label.
- Answering a comparison question without subtracting.
- Writing a number without explaining what it represents.
Strategy Tips
- Circle the scale before using the graph.
- Write down the value for each category you compare.
- Use addition for totals and subtraction for differences.
- Answer in words so the data result has meaning.
Practice Questions
Question 1
\ScatterPositiveFit Which is the BEST description of a "line of best fit" on a scatter plot?
- A. A line that passes through every data point
- B. A line that passes through no data points
- C. A line that generally shows the overall trend of the data
- D. A line that only passes through the outliers
Question 2
A scientist collected data on plant height (cm) versus days of growth. Which scatter plot shows a trend line that is a POOR fit?
- A. Points spread far from the line with large vertical distances
- B. Half the points are above the line and half are below
- C. Line passes through the center of the data cloud
- D. Points clustered tightly around the line with minimal scatter
Question 3
A residual is the vertical distance between a data point and the trend line. Which set of residuals indicates the BEST fit?
- A. Residuals of \(15, -12, 18, -14, 20\)
- B. Residuals of \(-1, 0, 1, 0, -1\)
- C. Residuals of \(-20, -18, 22, 25, 19\)
- D. Residuals of \(-5, -4, 3, 4, 2\)
Question 4
A teacher plots the relationship between attendance and test scores. The trend line shows a positive slope. What does this tell you?
- A. Attendance directly causes higher test scores
- B. All students with perfect attendance pass the test
- C. Test scores determine how often students attend
- D. As attendance increases, test scores tend to increase on average
Question 5
A line of best fit for a data set is \(y = 2x + 5\). What is the \(y\)-intercept, and what does it represent?
- A. The intercept is 2; it is the starting value
- B. The intercept is 5; it is the predicted value when \(x = 0\)
- C. The intercept is 7; it is the sum of slope and starting value
- D. The intercept is \(2x\); it is the slope
Question 6
\ScatterNone A scatter plot shows no clear pattern or trend. Which line is the best fit?
- A. A line with the steepest possible slope
- B. A line that bounces between all the points randomly
- C. A vertical line
- D. A horizontal line near the mean of the \(y\)-values
Full Answer Explanations Click to show all answers and explanations
Question 1
Answer: A line that generally shows the overall trend of the data
A line of best fit minimizes the overall distance between itself and the data points, capturing the general trend. It rarely passes through every point.
Question 2
Answer: Points spread far from the line with large vertical distances
A poor fit means the line fails to capture the pattern in the data. Large gaps (residuals) between points and the line indicate a weak relationship. A good fit minimizes these distances.
Question 3
Answer: Residuals of \(-1, 0, 1, 0, -1\)
Smaller residuals indicate better fit. A set of small residuals close to zero suggests the line passes near all data points.
Question 4
Answer: As attendance increases, test scores tend to increase on average
A positive slope indicates a positive association: as \(x\) increases, \(y\) tends to increase. This is correlation, not necessarily causation.
Question 5
Answer: The intercept is 5; it is the predicted value when \(x = 0\)
In \(y = mx + b\), \(b = 5\) is the \(y\)-intercept, representing the \(y\)-value when \(x = 0\).
Question 6
Answer: A horizontal line near the mean of the \(y\)-values
When there is no clear trend (no correlation), data appears randomly scattered. The best fit is a horizontal line at the average \(y\)-value, since no slope can be meaningfully determined.
Connection to Standards
This lesson supports Grade 8 math expectations for reasoning, modeling, problem solving, and explaining answers clearly. It connects classroom skills to the kind of questions students see on state math assessments.
Summary
Fitting a Line to Data becomes easier when students connect the question to a model, use clear steps, and explain why the answer fits.
GOLDEN RULE
Read the scale before reading the answer.

