Getting “Error, too late ” for D3 transition
问题 I am trying to do three transitions in onClick event of a Pie Chart. The first transition works but the second and the third one fail. I understood from Mike Bostocks comment on a similar question that " This means you are trying to modify a transition that has already started, or derive a transition from one that has ended. Please read the API Reference section on transition life cycles. " I still cant seem to understand the reason why this is happening. Here is the relevant code: self