19/05/2020

A simple visualization of time series data

The data used for visualization is Monthly sales of shampoo data from the year 2011 - 2013 of a particular brand.

We check for stationarity using the line graph of sales.

The indication of trend pattern leads to taking first order difference to get the stationary data.

library(plotly)
library(dplyr)

Check for Stationarity

First order difference line graph

Box plot showing the monthly sales from 2011 - 2013

Seasonal Plot