author: “Sanjay Kumar” date: “29-Dec-2018” autosize: true
We will use plotly package to show a time series data for following stocks
## Warning: package 'plotly' was built under R version 3.5.2
## Loading required package: ggplot2
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
## Warning: package 'webshot' was built under R version 3.5.2
## Warning: package 'htmlwidgets' was built under R version 3.5.2
## No trace type specified:
## Based on info supplied, a 'scatter' trace seems appropriate.
## Read more about this trace type -> https://plot.ly/r/reference/#scatter