score:1

Accepted answer

When working with d3 transitions you need to be careful when nesting transitions or executing them simultaneously.

The solution

I just changed the moveout method to update the stroke and y1 of all lines irrespective of which line triggered the function. And, the movein method to reset the y1 of all lines before extending the currently rolled-over line.


Related Query

More Query from same tag