Waterfall chart using plotly in R

0 votes
Hi, can someone help to create a waterfall chart in R with example dataset?
Jul 26, 2019 in Data Analytics by sandhya
143 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, 2019 by Cherukuri
• 32,420 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,710 points
1,473 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, 2019 in Data Analytics by sindhu
144 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 Sahiti
• 6,290 points
346 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, 2019 in Data Analytics by anonymous
• 32,420 points
29 views
0 votes
1 answer

Sunburst charts using plotly

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

answered Nov 3, 2019 in Data Analytics by Cherukuri
• 32,420 points
276 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, 2019 in Data Analytics by ravin
34 views
0 votes
1 answer

How to add tooltips to ggplot object?

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

answered Oct 28, 2019 in Data Analytics by Cherukuri
• 32,420 points
47 views
0 votes
1 answer

R chart using plotly

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

answered Nov 4, 2019 in Data Analytics by Cherukuri
• 32,420 points
34 views
0 votes
2 answers

How to change the value of a variable using R programming in a data frame?

You are getting this error since the ...READ MORE

answered Aug 16, 2019 in Data Analytics by anonymous
• 32,420 points
1,071 views