The only thing I saw is here . Now usually you need the d3.selectobject for which you want to trigger the transition. But in a related example, Bostock does not work on svg, consisting of different DOM objects, to manipulate, but instead on a canvas that needs to be erased and redrawn for each transition step. So, d3.select({}).transition()it just becomes an easy way to start a shared transition with which it can work. It should be noted that to create a transition, you need to choose something, just the execution d3.select().transition()will not work, and an empty object (or an empty array) allows it to work.
source
share