Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

3.1.2 Creating a Scatter Plot Using Data

Algebra 13.1.2 Creating a Scatter Plot Using Data

Search for key terms or text.

Activity

Access the Desmos guide PDF for tips on solving problems with the Desmos graphing calculator.

Watch the following video to help you answer the questions below.

1.

To complete the table, record the weight for the number of oranges in the box from the video.

number of oranges weight in kilograms
3
4
5
6
7
8
9
10
2.

Create a scatter plot of the data.

3.

Approximate the equation of the line that best fits the data. Use the same graphing tool you used in the question above. Approximate the equation of the line that best fits the data.

4.

Estimate a value for the slope of the line that you drew. What does the value of the slope represent?

5.

Estimate the weight of a box containing 11 oranges. Will this estimate be close to the actual value? Be prepared to show your reasoning.

6.

Estimate the weight of a box containing 50 oranges. Will this estimate be close to the actual value? Be prepared to show your reasoning.

When you use a linear model to estimate a value in the data given in a scatter plot, that is called interpolation. When you use a linear model to estimate the value outside the data given in the scatter plot, that is called extrapolation.

7.

Estimate the coordinates for the vertical intercept of the line you drew. What might the y-coordinate for this point represent?

8.

Which point(s) are best fit by your linear model? How did you decide?

9.

Which point(s) fit the least well by your linear model? How did you decide?

Compare your line with that of a partner. Discuss why you chose to put your lines where you did. How are your answers different? Which of you has a line that is the better fit? Why?

Self Check

The plot below is a scatter plot of mean temperature in July and mean inches of rain per year for a sample of midwestern cities. A line is drawn to fit the data. 

A SCATTER PLOT THAT SHOWS MEAN TEMPERATURE IN JULY IN DEGREES FAHRENHEIT ON THE X-AXIS AND MEAN RAINFALL PER YEAR IN INCHES ON THE Y-AXIS. THE LINE DRAWN INCREASES FROM LEFT TO RIGHT.

Use the line provided to predict the mean number of inches of rain per year for a city that has a mean temperature of 70°F in July. 

  1. 31.5 inches per year
  2. 34.5 inches per year
  3. 33.5 inches per year
  4. 32.5 inches per year

Additional Resources

Drawing and Interpreting Scatter Plots

A scatter plot is a graph of plotted points that may show a relationship between two sets of data. If the relationship is from a linear model or from a model that is nearly linear, the professor can draw conclusions using his knowledge of linear functions.

Here is an example of a scatter plot.

Scatter plot, titled 'Final Exam Score VS Age'. The x-axis is the age, and the y-axis is the final exam score. The range of ages are between 20 - 50, and the range for scores are between the upper 50s and 90s.

Notice this scatter plot does not indicate a linear relationship. The points do not appear to follow a trend. In other words, there does not appear to be a relationship between the age of the student and the score on the final exam.

Example: Using a Scatter Plot to Investigate Cricket Chirps

The table shows the number of cricket chirps in 15 seconds for several different air temperatures in degrees Fahrenheit.

Chirps 44 35 20.4 33 31 35 18.5 37 26
Temperature 80.5 70.5 57 66 68 72 52 73.5 53

Plotting these data suggests that there may be a trend. We can see from the trend in the data that as the number of chirps increases every 15 seconds, the temperature increases. The trend appears to be roughly linear, though certainly not perfectly so.

Scatter plot, titled 'Cricket Chirps vs. Air Temperature'. The x-axis represents the number of cricket chirps in 15 seconds, and the y-axis is the temperature in degrees Farenheit.

Once we recognize a need for a linear function to model that data, the natural follow-up question is: “What is that linear function?” One way to approximate our linear function is to sketch the line that seems to best fit the data. Then we can extend the line until we can verify the yy-intercept. We can approximate the slope of the line by extending it until we can estimate the riserunriserun.

Continuing the Example: Finding a Line of Best Fit

Find a linear function that fits the data above by “eyeballing” a line that seems to fit.

On a graph, we could try sketching a line. Using the starting and ending points of our hand-drawn line, points (0,30)(0,30) and (50,90)(50,90), this graph has a slope of m=6050=1.2m=6050=1.2 and a yy-intercept at 30.

The slope means that for every increase of 1 chirp per 15 seconds, the temperature increases 1.2 degrees.

The yy-intercept stands for the temperature needed for crickets to start chirping.

Scatter plot, titled 'Cricket Chirps vs. Air Temperature'. The x-axis represents the number of cricket chirps in 15 seconds, and the y-axis is the temperature in degrees Farenheit. A trend line shows a positive correlation.

Different methods of making predictions are used to analyze data. The method of interpolation involves predicting a value inside the domain and/or range of the data. The method of extrapolation involves predicting a value outside the domain and/or range of the data.

Model breakdown occurs at the point when the model no longer applies.

Continuing the Example: Understanding Interpolation and Extrapolation

Use the cricket data from the table to answer the following questions:

  1. Would predicting the temperature when crickets are chirping 30 times in 15 seconds be interpolation or extrapolation? Make the prediction and discuss whether it is reasonable.
  2. Would predicting the number of chirps crickets will make at 40 degrees be interpolation or extrapolation? Make the prediction and discuss whether it is reasonable.

Solution

1. The number of chirps in the data provided varied from 18.5 to 44. A prediction at 30 chirps per 15 seconds is inside the domain of our data, so it would be interpolation. Using our model:

T(30)=30+1.2(30)=66degreesT(30)=30+1.2(30)=66degrees

Based on the data we have, this value seems reasonable.

2. The temperature values varied from 52 to 80.5. Predicting the number of chirps at 40 degrees is extrapolation because 40 is outside the range of our data. Using our model:

40=30+1.2c10=1.2cc8.3340=30+1.2c10=1.2cc8.33

We can compare the regions of interpolation and extrapolation using the following figure.

Scatter plot, titled 'Cricket Chirps vs. Air Temperature'. The x-axis represents the number of cricket chirps in 15 seconds, and the y-axis is the temperature in degrees Farenheit. A trend line shows a positive correlation. A blue rectangle has been drawn around the data points. The area enclosed in this box is labeled: Interpolation. The area outside of this box is labeled: Extrapolation.

Try it

Try It: Drawing and Interpreting Scatter Plots

The scatter plot below shows the height and speed of some of the world’s fastest roller coasters. A linear model was drawn to fit the data.

A scatter plot that shows maximum height in feet on the x-axis and speed in miles per hour on the y-axis. The line drawn increases from left to right.

What would you expect the speed to be for a roller coaster that is 350 feet tall?

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.