In this section, we will be using Tableau to learn concepts on data outliers, seasonality effect, and the relationships and impacts. There is no R coding in this lab session.
This worksheet will be used to capture your images from Tableau and to share your observations. Example of capturing and including an image is included at the end of this sheet for your reference. You will need to log onto Tableau and Connect/Import the file EuroStore.xls found in the ‘bsad_lab10’ folder.
Remember to always set your working directory to the source file location. Go to ‘Session’, scroll down to ‘Set Working Directory’, and click ‘To Source File Location’. Read carefully the below and follow the instructions to complete the tasks and answer any questions. Submit your work to RPubs as detailed in previous notes.
For your assignment you may be using different data sets than what is included here. Always read carefully the instructions on Sakai. Tasks/questions to be completed/answered are highlighted in larger bolded fonts and numbered according to their particular placement in the task section.
mydata = read.csv("data/EuroStore.csv")
head(mydata)
## Week Sales TV Radio Fuel.Volume Fuel.Price Temp Holiday
## 1 26 24864 74.5 66.5 61825 104.24 27.9 1
## 2 27 23809 74.5 66.5 62617 103.97 27.7 1
## 3 28 24476 90.0 75.0 60227 107.48 29.1 1
## 4 29 25279 90.0 75.0 63273 111.75 30.0 1
## 5 30 26263 90.0 75.0 65196 109.08 29.3 1
## 6 31 24299 90.0 75.0 64789 105.36 28.1 1
First get familiar with the data and what each columns represent. A description of the data is provided in a seperate sheet called ‘Desc’ in the same Excel file. Refer to Lab05 for early exercise using Tableau.
In a new Tableau sheet
The sales are steady.The graph shows about 40k to 50k from weeks 0 to about 20, then dramatically decreases at week 22 reaching the lowest point (23k). Recovery time looks like it is 3 weeks and shortly continues back to a steady value.
The graph does not show all the sales combined during the week but it shows the average # of sales during the week. The dramatic decrease in number of sales are still shown below in this graph but there is more detail with the next part of the graph, which shows a steady but decreased rate of sales. Viewing the graph this way is more accurate when narrowing it down to a specific range.
Sales increase more when temperatures rise and similarly they decrease when the temp gets cold. The relationship is shown more clearly and is super effective when analyzing data to help understnad what is the cause of the average sales change.
In a seperate Tableau sheet
We can observe in the graph that a lot of the sales are happening with less than 100 spent on advertisement for TVs. Many of the sales happen with spending nothing (0) on the Tv advertiements.
Looking at the graph, more radio advertisements doesnt make a big impact on the sales.
In a separate Tableau sheet
A positive correlation is shown between Sales and Fuel Volume. The Fuel Value is getting larger and results in an increase of sales similarly.
It is shown that when the temperature is increasing, sales and volume are also increasing. If temperature were to decrease, both sales and volume would decrease as well.
There is a positive correlation with holiday. Larger volumes of fuel and amount in sales happen to occur during holiday. Another relation is when the temperature increases, there is an increse in holidays.
In a separate sheet
I observe in this data, the temperature and holidays make a great impact on the values of the sales. More holidays mean values of sales are increasing and same with the temperature.