How To Make A Scatter Plot In Excel

6.2 min read|Last Updated: April 30th, 2024|Categories: Excel|
table of content

One of the comparator charts in Excel is the Scatter chart.

What is the Scatter Chart?

The Scatter chart (XY graph or Scattering plot) is a 2D chart that compares the relevance of two sets of data. Both of the scatter axes contain numeric values.

What is scatter chart in Excel?
Picture 1- The Scatter chart on Excel

 

When to Use the Scatter Plot?

In this tutorial, we learn how to create a scatter plot based on our data.

As we mentioned, the scatter plot shows the dispersion of numerical data sets and displays the correlation between them. So we have two sets of numbers in two columns.

Creating a Scatter chart

Before you create the scatter chart, you should arrange the numbers. To arrange the data in Excel, follow these steps:

  1. Select the data set.
  2. Go to the Home tab from the ribbon.
  3. Click on the Sort & Filter button from the Editing group.
  4. You have two options (better to select “sort smallest to largest”):
  • Sort smallest to largest
  • Sort largest to smallest

Now your data is sorted.

How to sort data in Excel? https://bsuite365.com/exce
Picture 2- Sort the data in excel

 

We have an example of the price of the tutorial package and price.

To create the scatter chart according to the example. Follow the steps below:

  1. Select the data.
  2. Go to the Insert tab from the menu bar.
  3. Select the scatter icon from the Charts group.
  • There is no scatter icon! Click on the little arrow at the bottom of the chart group to see all charts.
  • When the Insert Chart dialogue box opens, go to the All Charts tab, select the X Y (scatter) and try the charts to find the right one.
  1. We chose the first chart   for this example.

There are some things to keep in mind to make sure your chart works well:

  1. You should enter quantitative data.
  2. The data should be in two sets in two separate columns.
  3. The independent variables should be in the left column (because these variables will be plotted on the X-axis.)
  • If you didn’t follow this, click on the chart area, go to the Design tab from the ribbon, click on the Switch Row/Column button .

Also, you can add axes titles, change the axes units, and other axes options.

To add axes titles, click on the chart area, click on the Chart Elements button C:\Users\leo\AppData\local\Temp\SNAGHTML2844a713.PNG next to the chart, check the Axis Titles checkbox, enter a title for your chart axes.

how to add axes title in excel? https://bsuite365.com/excel/
Picture 3- Add axes titles

 

To change the axis title, select it, enter = in the formula bar, select the cell related to the axes, and press Enter. By these steps, you link the axis title to the text.

To change the axes units, use the following steps (according to video1):

  1. Double click on the chart area to open the Format Chart Area pane.
  2. Click on the Chart Option.
  3. Select the Horizontal (Value) Axis option.
  4. Click on the Axis Options icon .
  5. Select the Axis Options from the menu; you can change the bounds and units here.
https://www.youtube.com/watch?v=iGxnL2nAQ04
Video 1- Axes options in Excel

Other types of scatter chart:

  1. Scatter with smooth lines and markers.
  2. Scatter with smooth lines.
  3. Scatter with straight lines and markers.
  4. Scatter with straight lines
  5. Bubble 
  6. 3-D Bubble

To see these charts follow these steps:

  • Select your data.
  • Go to the Insert tab.
  • Click on the little arrow at the bottom of the chart group to see all charts.
  • When the Insert Chart dialogue box opens, go to the All Charts tab, and select X Y (Scatter).
Different type of the scatter chart in Excel. https://bsuite365.com/excel/
Picture 4- All types of scatter chart in Excel

 

All scatter types have the same way to create, but their usage is different. The scatter charts with lines are better to use when you have few data points.

Scatter with lines are better to use when you have few data points.
Picture 5- The scatter chart with smooth lines and markers

 

Line or Scatter?

The scatter chart looks similar to the line chart, but there is a difference between them. In a line chart, we compare data that could be text and add time scale, but scatter graphs represent data scatter, focal points, correlation coefficients, etc.

So the main point is, do not use these two interchangeably. According to picture 6, we plot the example (price and sale) as a line chart.

What is the difference between Line and Scatter chart in Excel? https://bsuite365.com/excel/
Picture 6- The difference between a scatter chart and a line chart

 

Scatter Plot and Correlation

The CORREL function in Excel calculates the correlation coefficient between two variables. According to the relation between variables, there are three types of correlation coefficient:

  • Positive correlation: means two variables are directly related.
  • Negative correlation: means two variables are indirectly related.
  • No correlation: two variables have no relation.

Using the CORREL function for the scatter plot helps interpreting and analyzing data.

First, you need to enable the Data Analysis toolPak.

  1. Go to the File tab from the ribbon.
  2. Select the Options to open the Excel Options dialogue box.
  3. Go to the Add-Ins.
  4. Select the Excel Add-ins from the Manage menu, then click on the Go button.
  5. Check the Analysis ToolPak checkbox from the Add-Ins dialogue box.
  6. Press OK.
How to enable Excel Add-Ins? https:/bsuite365.com/excel/
Picture 7- Add-Ins option in Excel

 

checking the form Analysis ToolPak checkbox
Picture 8- Analysis ToolPak checkbox

 

Now to use the CORREL function, follow these steps (according to video 1):

  1. Go to the Data tab.
  2. Select the Data Analysis tool .
  3. Select the Correlation tool from the Data Analysis dialogue box.
  4. Press OK to open the Correlation dialogue box.
  5. Input your data to the Input Range.
  6. Turn on the Output Range and select an empty cell.
  7. Press OK.
https://www.youtube.com/watch?v=4pN_1MwsYIY
Video 2- How to calculate correlation in Excel

 

Add a Trendline to Scatter Plot

You can display visual data trends by adding a trendline to your scatter chart. 

  1. Click on the chart area.
  2. Select the Chart Elements button C:\Users\leo\AppData\local\Temp\SNAGHTML2844a713.PNG next to the chart.
  3. Check the Trendline checkbox.
How to add Trendline to Excel charts? https://bsuite365.com/excel/
Picture 9- Add trendline in Excel

 

If you click on the little arrow next to the trendline checkbox , you can see trendline options by clicking on the “Trendline” or “more options” under the “Trendline.” such as:

  • Display Equation on chart
  • Display R-squared value on the chart
  • Set intercept

You can connect with us and ask our experts for your inquiries and get more Excel Support Services.

Reduce costs, accelerate tasks, and improve quality with Excel Automation Services.

Our experts will be glad to help you, If this article didn't answer your questions.

Share now:

About the Author: Paria.S

Leave A Comment

contact us

Contact us today at and speak with our specialist.