A visualization created to help me understand transitions within 'g' elements in d3.
I want to understand how to transition paths and labels linked to the same data. This visualization deals with the path and the label separately by linking the path and text variables to the same data.
While this works, it violates the principle of maintaining one to one joins between data and elements (see mbostocks answer here).
I have tried similar enter and transition structure within g elements with no success.