R chart using plotly

0 votes
How to create a time series chart using R plotly? Im using superstore dataset.
Jul 26 in Data Analytics by kriti
27 views

1 answer to this question.

0 votes

Plot_ly example

library(plotly) 
today <- Sys.Date() 
tm <- seq(0, 600, by = 10) 
x <- today - tm y <- rnorm(length(x)) 
p <- plot_ly(x = ~x, y = ~y, mode = 'lines', text = paste(tm, "days from today"))

Find the complete example here,

https://plot.ly/r/time-series/

answered Nov 4 by Cherukuri
• 32,260 points

Related Questions In Data Analytics

0 votes
1 answer

How to create a box-plot using “plotly” in R?

You can use this command to create ...READ MORE

answered Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
1,325 views
+1 vote
1 answer

R programming: Drawing an xbar and R chart using qcc package

Try this: #x-Bar library(qcc) x=c(1080͵ 1390͵ 1460͵ ...READ MORE

answered Jan 25 in Data Analytics by Tyrion anex
• 8,310 points
170 views
0 votes
1 answer

Create a dual axis column/bar chart using ggplot in R

Add position = "stack" in geom_bar() function ...READ MORE

answered Nov 4 in Data Analytics by sindhu
99 views
0 votes
1 answer

How to change y axis max in time series using R?

The axis limits are being set using ...READ MORE

answered Apr 3, 2018 in Data Analytics by darklord
• 6,190 points
223 views
0 votes
1 answer

How to get interactive plots in R?

The best packages for creating interactive visualizations ...READ MORE

answered Nov 2 in Data Analytics by anonymous
• 32,260 points
27 views
0 votes
1 answer

Sunburst charts using plotly

See below example library(plotly) p <- plot_ly( labels ...READ MORE

answered Nov 3 in Data Analytics by Cherukuri
• 32,260 points
210 views
0 votes
0 answers

Export Plotly charts from R to Other documents or web pages.

Hi, can someone help in exporting Plotly ...READ MORE

Jul 30 in Data Analytics by ravin
26 views
0 votes
1 answer

How to add tooltips to ggplot object?

@ashish, you can use ggplotly package to ...READ MORE

answered Oct 28 in Data Analytics by Cherukuri
• 32,260 points
30 views
0 votes
1 answer

Waterfall chart using plotly in R

A simple waterfall chart using plotly - df ...READ MORE

answered Nov 2 in Data Analytics by Cherukuri
• 32,260 points
90 views
0 votes
1 answer

pie chart using ggplot - R

Hi, even I was searching for this ...READ MORE

answered Aug 19 in Data Analytics by anonymous
• 32,260 points
60 views