question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sunburst : filtered elements should be animated

See original GitHub issue

Filtered elements instantaneously disappear without animation.

See the Sunburst example.

Without animation, it’s not immediately clear what is being removed from the chart.

The pie chart calls dc.transition which is missing for the sunburst chart. Could it be as simple as that?

Pie chart : https://github.com/dc-js/dc.js/blob/develop/src/pie-chart.js#L124 Sunburst : https://github.com/dc-js/dc.js/blob/develop/src/sunburst-chart.js#L128

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ialarmedaliencommented, Sep 1, 2018

There are various bugs in the code that are stopping the transitions from being performed—the main problem is that the existing code talks about x, dx, y, and dy, which are from the d3 v3 era, but v4/v5 uses x0, x1, y0, and y1. I am working on a branch that fixes those errors and adds some new functionality to the sunburst chart.

0reactions
gordonwoodhullcommented, Sep 27, 2018

Yes @ialarmedalien fixed it in #1481 for 3.0.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

D3 - Transition Arcs in Sunburst Chart - Stack Overflow
I'm having trouble getting the code to properly transition. On click, all 'petals' (besides the selected one) should disappear and the remain paths...
Read more >
Element: <oj-sunburst> - Oracle
Animation should only be enabled for visualizations of small to ... Nodes with any category matching an item in this array will be...
Read more >
Sunburst generator in Motion - Apple Support
The Sunburst generator creates “beams” that radiate from a center point. Adjust this generator using the controls in the Generator Inspector:
Read more >
Flourish Studios Sunburst Chart Tutorial & Pradeep Kumar G ...
With a sunburst chart, you need a hierarchical relationship (generally two ... You can filter if you desire, but animating the sunburst ......
Read more >
Sunburst – amCharts 4 Documentation
Enabling interpolation will mean that elements will transit smoothly into new values rather than updating instantly. Click here for more info about animations....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found