I’d like to be able to have points enter at the top of the screen, and rotate around the circumference of a circle until they are equally spaced. When I use d3’s transition, it only goes in a straight line from the top of the circle to their final place. Can d3 make a transition around the edge of a circular path? I was thinking maybe I could use transition on a linear dummy variable, and then define the cx and cy position as a function of that dummy variable, but I have no idea how to set that up. Please help.
To do this you can use attrTween (GitHub - d3/d3-transition: Animated transitions for D3 selections.)
I’ve sent you a suggestion with the following change:
2 Likes
You are such a life saver, this is exactly what I was looking for! Thank you so much!!
2 Likes