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.
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
img1_path <- "imgs/SalesByWeek.png"
knitr::include_graphics(img1_path)
This plot shows the amount of dollar sales that occur each week throughout the year. It displays a significant drop in sales in the middle of the year, between Week 22 and Week 26.
img1_path <- "imgs/AvgSales.png"
knitr::include_graphics(img1_path)
This plot shows the average sales that occur each week throughout the year. It displays the highest average sales between Week 28 and Week 33. Compared to the first graph, average sales do not display the huge decline in the middle of the year in comparison to the rest of the weeks.
img1_path <- "imgs/Temp.png"
knitr::include_graphics(img1_path)
This shows that Average Sales are relatively high when temperature is high, which can mean that the two variables have a correlation in the data.
In a seperate Tableau sheet
img1_path <- "imgs/SalesTV.png"
knitr::include_graphics(img1_path)
This graph shows that reaching more target audience with TV results in an increase in sales. However, there is a peak in target audience reach at about 100. After that, sales start to slowly decrease and more is spent on TV than Sales can make up for, so it should not go past that amount.
img1_path <- "imgs/Radio.png"
knitr::include_graphics(img1_path)
Adding Radio to the graph shows a trend that is similar to the previous one with TV and Sales. Spending more on radio ads seems to correlate with higher sales, but there is a limit like there was with TV. Sales seem to peak after about 200 Radio, so beyond that, there is not enough evidence to support an increase in Sales.
In a separate Tableau sheet
img1_path <- "imgs/SalesFuelVol.png"
knitr::include_graphics(img1_path)
Sales and Fuel Volume have a slightly positive correlation, but it is a weak correlation since the points are very scattered.
img1_path <- "imgs/FuelTemp.png"
knitr::include_graphics(img1_path)
Higher temperatures are corelated with higher sales and higher fuel volume. This could be explained due to more people driving when the temperature is nicer.
img1_path <- "imgs/Holiday.png"
knitr::include_graphics(img1_path)
A majority of the days with higher sales are holidays. These higher sales are also correlated with higher temperatures. This means that more people travel and use fuel on holidays, but even more so when the temperature is high.
In a separate sheet
img1_path <- "imgs/Tree Map.png"
knitr::include_graphics(img1_path)
The highest amount of Sales occur during warm weather holidays with high fuel sales. This is displayed by the tree map.