1

I want to know how to use arcTween for animating for multiple arc path at a time. And what exactly the use of interpolate.?

Please find the below image which i am trying to achieve but couldn't able to. I hope i will get a better solution here.enter image description here

And this is my code JSFiddle.

 var partition=d3.layout.partition()
                           .size([Math.PI/2, radius])
                           .value(function (d) { return d.depth; });

After every click on button the arc paths should change their path in the mean of transitioning or animating just like showed in the above image.

user3789426
  • 13
  • 1
  • 7
  • http://stackoverflow.com/questions/22312943/d3-sunburst-transition-given-updated-data-trying-to-animate-not-snap – Lars Kotthoff Sep 02 '14 at 09:12
  • @LarsKotthoff: Thanks for the link. I have tried this one, but i feel my requirements is quite different from it. – user3789426 Sep 02 '14 at 11:48
  • Could you elaborate on that please? – Lars Kotthoff Sep 02 '14 at 11:53
  • @LarsKotthoff I mean when ever i clicked on the button at that time all the sub arc path should go for transition and here in that example i am little bit confused. Here they will do the transition based on the path which we clicked on it. How can get only sub arc paths and do the transition? – user3789426 Sep 02 '14 at 12:05

0 Answers0