Correlation Chart in Excel
Last Updated :
11 Sep, 2023
Correlation basically means a mutual connection between two or more sets of data. In statistics, bivariate data or two random variables are used to find the correlation between them. Correlation coefficient is generally the measurement of correlation between the bivariate data which basically denotes how much two random variables are correlated with each other.
If the correlation coefficient is 0, the bivariate data are not correlated with each other.
If the correlation coefficient is -1 or +1, the bivariate data are strongly correlated with each other.
r=-1 denotes strong negative relationship and r=1 denotes strong positive relationship.
In general, if the correlation coefficient is close to -1 or +1 then we can say that the bivariate data are strongly correlated to each other.
The correlation coefficient is calculated using Pearson's Correlation Coefficient which is given by :

where,
r: Correlation coefficient
x_i
: Values of the variable x.
y_i
: Values of the variable y.
n: Number of samples taken in the data set.
Numerator: Covariance of x and y.
Denominator: Product of Standard Deviation of x and Standard Deviation of y.
In this article, we are going to discuss how to make correlation charts in Excel using suitable examples.
Example 1: Consider the following data set :

Finding Correlation Coefficient in Excel
In Excel to find the correlation coefficient use the formula :
=CORREL(array1,array2)
array1 : array of variable x
array2: array of variable y
To insert array1 and array2 just select the cell range for both.
1. Let's find the correlation coefficient for the variables X and Y1.

array1 : Set of values of X. The cell range is from A2 to A6.
array2 : Set of values of Y1. The cell range is from B2 to B6.
Similarly, you can find the correlation coefficients for (X, Y2) and (X, Y3) using the Excel formula.
Finally, the correlation coefficients are as follows :

From the above table we can infer that :
X and Y1 has negative correlation coefficient.
X and Y2 has positive correlation coefficient.
X and Y3 are not correlated as the correlation coefficient is almost zero.
Correlation Chart in Excel
A scatter plot is mostly used for data analysis of bivariate data. The chart consists of two variables X and Y where one of them is independent and the second variable is dependent on the previous one. The chart is a pictorial representation of how these two data are correlated with each other.
Three cases are possible on the basis of the value of the correlation coefficient, R as shown below :
Types of Correlation ChartExample 2: Consider the following data set :

The correlation coefficients for the above data set are :

The steps to plot a correlation chart are :
- Select the bivariate data X and Y in the Excel sheet.
- Go to the Insert tab at the top of the Excel window.
- Select Insert Scatter or Bubble chart. A pop-down menu will appear.
- Now select the Scatter chart.

- Now, we need to add a linear trendline in the scatter plot to show the correlation between the bivariate data. In order to do so, select the chart and from the top right corner click on the "+" button and then check the box of Trendline.

- The trendline is now added and our correlation chart is now ready.
Negative relationship chart- Now you can format the Trendline by selecting and clicking on the "Format Trendline" option. A dialog box will open where you can change the type and color of the trendline and also show the R^2
value in the chart.


You can further format the above chart by making it more interactive by changing the "Chart Styles", adding suitable "Axis Titles", "Chart Title", "Data Labels", changing the "Chart Type" etc. It can be done using the "+" button in the top right corner of the Excel chart.
Finally, after all the modifications the charts look like this:
Correlation Chart 1Since the correlation coefficient is R=-0.79, we have obtained a negatively correlated chart. The linear trendline will grow downwards.
Correlation Chart 2Since the correlation coefficient is R=0.89, we have obtained a positively correlated chart. The linear trendline will grow upwards.
Correlation Chart 3Since the correlation coefficient is R=0.01, which is approximately 0, so we have obtained a zero-correlated chart. The linear trendline will be a straight line parallel to X-axis and it implies the bivariate data X and Y3 are not correlated to each other.
What does a positive correlation look like on a correlation chart?
In a correlation chart, a positive correlation is visually represented by points that tend to form an upward-slopping trendline. As one variable increases, the other variable also tends to increase.
How to create a correlation chart in Excel?
To create a correlation chart in Excel follow the below steps:
Step 1: Select the data for both variables.
Step 2: Go to the "Insert" tab and choose "Scatter" from the Chart group.
Step 3: Select the Scatter plot type that suits your data.
Step 4: If desired, add a trendline to the chart by selecting the chart and going to " Chart Elements". Check the "Trendline" Option.
Similar Reads
Correlation and Regression Correlation and regression are essential statistical tools used to analyze the relationship between variables. Correlation measures the strength and direction of a linear relationship between two variables, indicating how one variable changes in response to another. Regression, on the other hand, go
8 min read
How to Calculate Partial Correlation in Excel? Partial correlation helps find the correlation between the two variables by removing the effect of the third variable. There can be situations when the relations between variables can be many. This could reduce the accuracy of correlation or could also give wrong results. Partial correlation removes
5 min read
How to Create a Bar Chart in Excel? To learn how to create a Column and Bar chart in Excel, let's use a simple example of marks secured by some students in Science and Maths that we want to show in a chart format. Note that a column chart is one that presents our data in vertical columns. A bar graph is extremely similar in terms of t
4 min read
How to Calculate Correlation in Excel: Step by Guide Understanding the relationship between two variables is essential in data analysis, and correlation is a powerful statistical tool to measure that relationship. Excel, as a versatile data analysis tool, allows you to calculate correlation easily. In this article, you will learn the different methods
8 min read
How to Calculate Point-Biserial Correlation in Excel? The Point-Biserial Correlation Coefficient is a correlation metric that measures the degree of relationship between a continuous and a binary variable. The connection between a binary variable, x, and a continuous variable, y, is measured using point-biserial correlation. Binary variables are widely
3 min read
How to Calculate Spearman Rank Correlation in Excel? We have noticed a general trend that with an increase in the height of a person, its weight also increases. This happens because there is a positive correlation between height and weight. As one variable increases, the other one also increases, but with this, we only get the quality measure of the d
8 min read
How to Calculate Cross Correlation in R? In this article we will discuss how to calculate cross correlation in R programming language. Correlation is used to get the relation between two or more variables. The result is 0, if there is no correlation between two variablesThe result is 1, if there is positive correlation between two variable
1 min read
How to Make a Column Chart in Excel Column Charts provide advanced options that are not available with some other chart types such as trendlines and adding a secondary axis. This tutorial will walk you through the step-by-step process of creating a column chart in Microsoft Excel. Column charts are used for making comparisons over tim
7 min read
Correlation and Regression with R Correlation and regression analysis are two fundamental statistical techniques used to examine the relationships between variables. R Programming Language is a powerful programming language and environment for statistical computing and graphics, making it an excellent choice for conducting these ana
8 min read
Pearson Correlation Coefficient Pearson Correlation Coefficient (PCC) is used for measuring the strength and direction of a linear relationship between two variables. It is important in the fields like data science, finance, healthcare and social sciences where understanding relationships between different factors is important. By
8 min read