[Solved] D3.js updating spline with new data [closed]
In your fiddle, you’re applying the d attribute to the wrong element when changing the data. In the enter group, you add a new group (class people), then add a line element to the group. As such, when the data changes, you need to update the line within the group, not the group itself. To … Read more