In this tutorial, you will learn how to create a scatter plot with lines in Google Sheets.
Dots are used to represent values for two different numeric variables in a scatter plot. The values for each data point are indicated by the position of each dot on the horizontal and vertical axes. Scatter plots are used to see how variables relate to one another.
The fundamental purpose of a scatter plot is to observe and display relationships between two numeric variables. In a scatter plot, the dots show the values of individual data points and patterns when the data is viewed as a whole.
Scatter plots are commonly used to identify correlational relationships. In these circumstances, we want to know what a good vertical value prediction would be if we were given a specific horizontal value. The variable on the horizontal axis is typically referred to as an independent variable, while the variable on the vertical axis is referred to as a dependent variable. Positive or negative, strong or weak, linear or nonlinear relationships between variables can be described in a variety of ways.
By adding a line to the scatter plot, you can see a trend using the given data. Once you are ready, we can get started by using real-life scenarios to help you understand how to create a scatter plot with lines in Google Sheets.
Creating a Scatter Plot with Lines
Before we begin we will need a group of data to be used to create the scatter plot.
Make sure your group of data is displayed in a clean and tidy manner. This will help us to create the scatter plot easily.
Select the entire data cell, choose Insert, and select Chart.
By default, Google Sheet will use the selected group of data to generate a line chart. Simply change the chart to a scatter chart in the Chart Editor.
Now, you can customize the quadrant chart to your preference. We will change the chart title to ‘Correlation of Temperature to Ice Cream Sales’ for a better representation of the scatter plot. Also, to emphasize the chart title, we will change the text color to black, bold it, and also align it to the center.
We can also insert a trendline to indicate the trend of this set of data. Simply go to Series and select Trendline. We will make it red color as well.
Once you are done editing and customizing the scatter plot, it will look something like this.
That’s all there is to it. You are welcome to copy the example spreadsheet below to see how it is done. The most crucial lesson is to enjoy yourself while doing it.
Example Spreadsheet: Make a copy of the example spreadsheet
In this tutorial, I covered how to make categories in google sheets. Want more? Check out all the Google Sheets Tutorials.