Questions tagged [sunburst-diagram]

Sunburst diagrams are a kind of tree diagram, in which each layer is represented as a ring around a center, and nodes are represented as arcs within such layers. They are typically used to visualize hierarchical data.

336 questions
4
votes
1 answer

How to hide outer ring in zoomable sunburst

I wanted to hide the outer ring in Sunburst, and I wanted to show it when the user drills down the sunburst. So that I can clearly show the data in outer ring clearly.... Thanks in advance Here is my code var width = 700, height = width, …
Mahes
  • 57
  • 9
4
votes
1 answer

Error: Cross origin requests are only supported for HTTP with D3js

I was trying to generate sunburst chart from the example provided here What I did is just copy the entire JSON in my local and then the index.html I didn't do any changes to any of the files. When I tried to run the html file I'm getting these…
Strikers
  • 4,698
  • 2
  • 28
  • 58
4
votes
0 answers

Why does adding labels slow down d3 zoomable Sunburst?

I am extending the d3 zoomable Sunburst, in particular Coffee Flavor Wheel: ... with a relatively big dataset (about 1200 nodes). I have added labels as such: var textEnter = text.enter().append("text") .style("fill-opacity", 1) …
Perry
  • 1,709
  • 1
  • 17
  • 25
4
votes
2 answers

How can i get the startAngle and endAngle of each arc in the sunburst example using d3.js?

I want to get the start and end angles for each arc in the sunburst example as in http://bl.ocks.org/4063423:
Sreedivya
  • 41
  • 1
  • 2
4
votes
2 answers

Edit the innerRadius of D3 Sunburst visualization

How can I change the radius of the innermost circle of the Sunburst visualization? See following example: (http://bl.ocks.org/d/910126/ - notice how large is central area; can it be smaller?) Also, is it possible to define different heights for all…
jeroen.verhoest
  • 5,173
  • 2
  • 27
  • 27
4
votes
1 answer

How to properly rotate text labels in a D3 sunburst diagram

In the following D3 sunburst : http://jsfiddle.net/maxl/eabFC/ .attr("transform", function(d) { return "rotate(" + (d.x + d.dx / 2 - Math.PI / 2) / Math.PI * 180 + ")"; }); The labels in the left quadrants are upside down, I would like to…
Max L.
  • 9,774
  • 15
  • 56
  • 86
4
votes
1 answer

Transitioning sunburst in D3.js

I'm doing a data-driven visualization with d3. I have a structure similar to the sunburst (but with a single layer, sort of a pie chart with a hole in the middle). By clicking the arrow on keyboard the data visualized changes and so it does the…
RMinelli
  • 171
  • 2
  • 13
3
votes
2 answers

How to show color map of a value sum rather than average in plotly sunburst

I have a graph that looks like this: As per plotly's documentation: If a color argument is passed, the color of a node is computed as the average of the color values of its children, weighted by their values. I would like tha color map max value to…
Jonas Palačionis
  • 4,591
  • 4
  • 22
  • 55
3
votes
2 answers

I'm trying to create a plotly sunburst plot but get error message: 'dtype: object, 'is not a leaf.'

I'm trying to create a sunburst plot where different rows have different lengths, and get the error message 'dtype: object, 'is not a leaf.' I have read this 'Note that the parents of None entries must be a leaf, i.e. it cannot have other children…
Sanne Hombroek
  • 105
  • 1
  • 6
3
votes
2 answers

plotly express sunburst plot complete blank

I'm trying to plot a sunburst with plotly express, but the output is a complete blank plot. The code below is from an example showed on the plotly site. All the examples with path give me this output. import plotly.express as px df =…
emmemme
  • 31
  • 3
3
votes
2 answers

Plotly: Error with pandas dataframe: module 'plotly.express.data' has no attribute

Firstly, apologies if this is a silly question, this is my first time using plotly. I am trying to make a sunburst diagram using my 'actor' dataframe, but I get an attribute error when I attempt to do…
Dan Harrison
  • 127
  • 1
  • 7
3
votes
2 answers

Sunburst Oracle JET Data Binding

I am trying to use Oracle JET sunburst in my APEX web application. I want my sunburst to change label(language) based on toggling of a switch. Each time the switch toggles, an Ajax call is fired up and comes back with appropriate JSON result. I…
vas
  • 31
  • 2
3
votes
1 answer

Plotly's treemap and sunburst show wrong sizes

I am trying to use plotly's sunburst and treemap to visualize data. However, I discovered that the child nodes show wrong size compared to their parents, that is, the sum of children's size does not cover that of the parents: import…
dgg32
  • 1,409
  • 1
  • 13
  • 33
3
votes
1 answer

Follow up of : How to make a sunburst plot in R?

I'm new to R and I would have asked the question directly in the comments but I don't have the reputation yet :D Basically, I wanted to do a sunburst diagram like dmp suggested in this thread: How to make a sunburst plot in R or Python? However, my…
nathkpa
  • 121
  • 8
3
votes
0 answers

Want show only limited childeren of parent node in d3 sunburst chart

I have created 2 level sunburst chart on http://test.smokethis.com/wheel/ which is working perfectly. But i want to validate my chart to show only 10 child of a particular parent and an additional node called "More child". The behaviour on "More…
1 2
3
22 23