Finding Relation | Visualizing Data
Analyzing and Visualizing Real-World Data

# Finding Relation

Based on the graph, it appears that the peak in sales right before the end of the year is not random; the top 5 stores have the same pattern. Now, let's explore another parameter that we haven't examined yet. We will investigate whether there is a correlation between the temperature and shop income. We assume that colder temperatures outside will lead to fewer visitors and lower sales. To answer this question, we will create a scatter plot of temperatures vs. weekly sales. Since there are more than 6,000 records in the dataset, we will only use data for the top 5 best-selling stores.

However, it seems that there is no clear correlation between temperature and weekly sales since most of the data points are located in the lower part of the plot. There are only a few data points with significantly higher sales in the upper part of the plot. What are these points? Let's find out.

Everything was clear?

Section 4. Chapter 3

Course Content

Analyzing and Visualizing Real-World Data

# Finding Relation

Based on the graph, it appears that the peak in sales right before the end of the year is not random; the top 5 stores have the same pattern. Now, let's explore another parameter that we haven't examined yet. We will investigate whether there is a correlation between the temperature and shop income. We assume that colder temperatures outside will lead to fewer visitors and lower sales. To answer this question, we will create a scatter plot of temperatures vs. weekly sales. Since there are more than 6,000 records in the dataset, we will only use data for the top 5 best-selling stores.

However, it seems that there is no clear correlation between temperature and weekly sales since most of the data points are located in the lower part of the plot. There are only a few data points with significantly higher sales in the upper part of the plot. What are these points? Let's find out.

Everything was clear?

Section 4. Chapter 3