So, you enter two sets of numeric data into two separate columns. For ease of use, the independent variable should be in the left column as this column is going to be plotted on the x axis. The dependent variable the one affected by the independent variable should be in the right column, and it will be plotted on the y axis.
Exploring charts in Excel and finding that the one you pick isn’t working well for your data is a thing of the past! Try the Recommended Charts command on the Insert tab to quickly create a chart that’s just right for your data. Click Recommended Charts and select the chart. Making an xy scatter plot. 1. How to make a scatter plot in Excel; 2. Open a new workbook and enter your data; 3. Select “Insert” and.
In our example, we are going to visualize the relationship between the advertising budget for a certain month independent variable and the number of items sold dependent variable , so we arrange the data accordingly: With the source data correctly organized, making a scatter plot in Excel takes these two quick steps:. The scatter diagram will be immediately inserted in your worksheet: Basically, you may consider the work done.
Or, you can customize some elements of your graph to make it look more beautiful and to convey the correlation between the two variables clearer. Scatter with lines is best to be used when you have few data points.
For example, here's how you can represent the data for the first four months by using the scatter graph with smooth lines and markers: The Excel XY plot templates can also draw each variable separately , presenting the same relationships in a different way. For this, you should select 3 columns with data - the leftmost column with text values labels , and the two columns with numbers. In our example, the blue dots represent advertising cost, and orange dots represent the items sold: To view all available scatter types in one place, select your data, click the Scatter X, Y icon on the ribbon, and then click More Scatter Charts… This will open the Inset Chart dialog box with the XY Scatter type selected, and you switch between the different templates at the top to see which one provides the best graphic representation of your data: Unlike a classic XY scatter chart, a 3D scatter plot displays data points on three axes x, y, and z in order to show the relationship between three variables.
Therefore, it is often called an XYZ plot. Regrettably, there is no way to create a 3D scatter plot in Excel, even in the new version of Excel If you strongly need this chart type for your data analysis, consider using some third-party tool, like plot. The screenshot below shows what kind of a 3D scatter graph this tool can draw: To interpret the scatter plot correctly, you need to understand how the variables can relate to each other.
Overall, there exist three types of correlation:. Positive Correlation - as the x variable increases, so does the y variable. An example of a strong positive correlation is the amount of time the students spend studying and their grades. Negative Correlation - as the x variable increase, the y variable decreases. Ditching classes and grades are negatively correlated - as the number of absences increases, the exam scores decrease.
No Correlation - there is no evident relationship between the two variables; the dots are scattered around the entire chart area. For example, students' height and grades appear to have no correlation as the former does not affect the latter in any way. As with other chart types, nearly each element of a scatter graph in Excel is customizable. In case your data points are clustered at the top, bottom, right, or left side of the graph, you may want to clean up the extra white space.
The below screenshot shows my settings: When creating a scatter graph with a relatively small number of data points, you may wish to label the points by name to make your visual better understandable.
Here's how you can do this:. That's it!
All data points in our Excel scatter plot are now labeled by name: When two or more data points are very close to each other, their labels may overlap, as is the case with the Jan and Mar labels in our scatter diagram. To fix this, click on the labels, and then click on the overlapping one so that only that label gets selected. Point your mouse cursor to the selected label until the cursor changes to the four-sided arrow, and then drag the label to the desired position.
As the result, you will have a nice Excel scatter plot with perfectly legible labels: Add a trendline and equation To better visualize the relationship between the two variables, you can draw a trendline in your Excel scatter graph, also called a line of best fit. To have it done, right click on any data point and choose Add Trendline… from the context menu. Excel will draw a line as close as possible to all data points so that there are as many points above the line as below.
Additionally, you can show the equation for the trendline that mathematically describes the relationship between the two variables. For this, check the Display Equation on Chart box on the Format Trendline pane that should appear in the right part of your Excel window immediately after you've added a trendline. The result of these manipulations will look similar to this:. What you see in the screenshot above is often called the linear regression graph , and you can find the detailed guidelines on how to create it here: How to make a linear regression graph in Excel.
As already mentioned, a scatter plot usually displays the independent variable on the horizonal axis and the dependent variable on the vertical axis. If your graph is plotted differently, the easiest fix is to swap the source columns in your worksheet, and then draw the chart anew. If for some reason rearranging the columns is not possible, you can switch the X and Y data series directly on a chart.
Here's how:. As the result, your Excel scatter plot will undergo this transformation: That's how you create a scatter plot in Excel. In our next tutorial, we will continue with this topic and show how to quickly find and highlight a certain data point in a scatter graph. Please stay tuned! I do not have the plus button you have for your graph Also, I have never said this so why am I getting a duplicate response? Just click anywhere on the chart for the plus button Chart Elements button to appear.
And sorry for the "duplicate response" message, our webmaster is working on it already. E-mail not published.
Confirm the chart data organization. Confirm that Excel has in fact correctly arranged your data by looking at the chart. Note that here, the data is correctly organized. The chart shows the common-sense result that increased advertising seems to connect with increased sales. Add those little flourishes to your chart that will make it more attractive and readable.
For example, you can use the Chart Title and Axis Titles buttons to annotate the chart with a title and with descriptions of the axes used in the chart. For the Design tab to be displayed, you must have either first selected an embedded chart object or displayed a chart sheet. Excel displays the Trendline menu. Select the type of trendline or regression calculation that you want by clicking one of the trendline options available.
For example, to perform simple linear regression, click the Linear button. To show the equation for the trendline that the scatter plot uses, choose the More Trendline Options command from the Trendline menu. This tells Excel to add the simple regression analysis information necessary for a trendline to your chart. Note that you may need to scroll down the pane to see these check boxes.
Use the radio buttons and text boxes in the Format Trendline pane to control how the regression analysis trendline is calculated. You can also use the Forecast Forward and Backward text boxes to specify that a trendline should be extended backward or forward beyond the existing data or before it.