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
There is a sharp drop in sales from weeks 23-25. In these weeks there is missing data. This excel sheet tracks 2 years of data at a time, however from weeks 23-25 there is only one week of recorded sales. This could be why there is a distortion in the data.
In comparison with task 1, we notice that this graph better represents the sales from the 2 years. Because the sales are averaged and the scale is adjusted to show a more dynamic view, the graph is more clear as compared to task 1 which was flat. When we averaged the sales, the weeks with only one revenue recorded fit the graph better. From the scaled view, sales are highest in weeks 20-32.
In a seperate Tableau sheet
From the graph we can notice that the more we spend on TV ads, the greater increase in sales. This appears to be only true until 90 GRP units. There is minimal increases past this mark, which proves the costs do not outweight the benefits past 90.
By adding radio ads, we can see the relationship is similar to that of TV ads. When spending more on ads for TV and radio, sales increase. But it is noticed that this benefit only exists until 90 GRP units.
In a separate Tableau sheet
Fuel Volume and Sales is positively correlated and that increases when more fuel is sold per week. Correlation doest not always imply causation, however.
We can notice that sales in volume go up during warmer temperatures, while when it is colder sales go down.
In a separate sheet
Sales are greatly affected by temperatures and advertisement. I would heavily advertise in the summer months when there is great demand for business to bring in more customers. As seen by the treemap, holidays are a nonfactor. The business should not worry about holiday affecting the sales and focus on TV, radio ads along with a correlation in warmer temperatures for an optimal sales revenue.