Pausing and resuming a transition
I am using setInterval , so transitions take place after a certain interval. Is it possible to get pausing and resuming to work with setInterval? Any suggestions/pointers in the right direction will be really helpful. This question was posted when D3 v3 was the latest version available. 5 years later D3 v5 has some new methods, like selection.interrupt() , transition.on("interrupt"...) and local variables , which can make the task more simple and less painful. So, let's suppose a simple cx transition on a circle: const svg = d3.select("svg"); const circle = svg.append("circle") .attr("r", 15)