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
2,940 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
• 33,030 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,750 points
7,858 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
4,675 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,370 points
3,854 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
• 33,030 points
622 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
• 33,030 points
2,247 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
837 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
• 33,030 points
1,744 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
• 33,030 points
1,029 views
+1 vote
3 answers

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

Try this: df$symbol <- as.character(df$symbol) df$symbol[df$sym ...READ MORE

answered Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
35,873 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP