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
This data represents a line graph that shows the sum of sale over about a 55 week period. Between the weeks of 0-21 there was a steady increase of sales from 42k to 50k. But between weeks 21-23 there was a dramatic decrease in sales dropping all the way down to 22k. From week 23-25 there was only a slight increase in sales. But from weeks 25-26 there was a surge in sales and increased back up to 50k. Between weeks 26-37 there was a slight increase but then a continous decrease ending at 41k. With the final weeks 37-55 averaging about 42k.
This data represetns a line graph as well but this time having the average of sales over about a 55 week peroid. There are two differences between the sum of sales and average of sales. The main difference betweent the two graphs with the sum of sales and the average of sales is there is no significant drop for the average sales. Between weeks 21-24 for the average sales there is minor dip in the line graph but nothing significant. In regards to the general data of the average sales. The second difference is the sales on the average graph is lower compared to the sum of sales. It’s normal data where the average sales slowly increases till week 30. After week 30 the average sales slowly decreases and averages around 23k.
This data represents a line graph based on the average sales to determine when the best time to buy somerhing on sales. The inclusion on the temperature colors help identitfy the best time buy. Looking at the graph the best time to buy is in the middle with the downward trending line represented with the red temperature color.
In a seperate Tableau sheet
The data that is represented in this scatter plot data is the advertising spent on tvs. The data shows us that to get the variation of Tv’s is the 90 TV’s. The largest amoung of spending is related to no spending on no advertising compared to the most expensive spendings. Based off the given information, the upper limit should be about 90 TV’s, this is because the return on spending more money on advertising turns out to be more costly than profitable.
With the addtion of Radio to the advertising of TV’s, the radio points are shown with larger bubble dot points. As shown, there is a corrolation between higher spending on advertising with relation to radio advertising. Higher amount of spending is more effective when as it relates to ratio with higher amount spent of advertising.
In a separate Tableau sheet
The data represented in this graph is between the sales to the fuel volume. From the data points that is represented, in order to generate sales one must increase the amount of fuel sold. The best amount of spend fuel sold is between 63k-66k, with a return on sales between 23k-29k.
With the inclusion of the temperature color scale, it is better understood where the best sales are for sold fuel. Having the red data points represent the best sales of fule ranging between 26k-28k. While the blue data points represent the lower end of sales of fuel raning betwene 19k-24k.
The addtion of the sum of holidays represents the times in which fuel was bought on days that fell on a holiday. This is clearly represented with both the temperature coloring and the 0 and 1 points. 1 points representing the days that people bought gas. This can tell us that the sales of fuel is up more because more people decide to travel more when they have more time to.
In a separate sheet
The things that affected sales the most under the conditions used were the colored temperature to demonstrate the best and worst times for sales, holidays to better figure out if holidays made an impact or not, and radio to demonstrate that the higher money spend on radio ads correlated to higher return. These conditions looked as if they had the biggest relationships to sales and demonstrated the best trends.