Sunburst charts using plotly

0 votes
How to Sunburst charts using plotly in R?
Jul 26 in Data Analytics by ratna
218 views

1 answer to this question.

0 votes

See below example

library(plotly) 
p <- plot_ly( labels = c("Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"), parents = c("", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve"), values = c(10, 14, 12, 10, 2, 6, 6, 4, 4), type = 'sunburst' )
 # Create a shareable link to your chart # Set up API credentials: https://plot.ly/r/getting-started 
chart_link = api_create(p, filename="sunburst-basic") chart_link

Source: https://plot.ly/r/sunburst-charts/

answered Nov 3 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,343 views
0 votes
1 answer

How to build a Scatter-plot using plotly?

With the help of “plotly” we can ...READ MORE

answered Jul 6, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
122 views
0 votes
1 answer

Join using two mappers - invalid inputfile exception

Dear Learner, Hope you are doing well. Can you ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
36 views
0 votes
1 answer

Using "dplyr" to summarise multiple columns

You can use the "sumamrise_all()" function for ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
359 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
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
27 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

Add multiple sub plots within same panel.

Hi, Karthi The subplot() function in plotly provides ...READ MORE

answered Aug 26 in Data Analytics by anonymous
• 32,260 points
27 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
29 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
95 views