Waterfall chart using plotly in R

0 votes
Hi, can someone help to create a waterfall chart in R with example dataset?
Jul 26 in Data Analytics by sandhya
89 views

1 answer to this question.

0 votes

A simple waterfall chart using plotly -
df <- data.frame(
  status = c("I","D","I","I","D","D","I","D","D"),
  value =  c(20,-10,35,52,-17,-12,56,-20,-10)
)

plot_ly(df,type = "waterfall",y = ~value,text = ~value)

answered Nov 2 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,318 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
96 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
219 views
0 votes
1 answer
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
201 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

R chart using plotly

Plot_ly example library(plotly) today <- Sys.Date() tm <- ...READ MORE

answered Nov 4 in Data Analytics by Cherukuri
• 32,260 points
27 views
0 votes
2 answers