score:3

Accepted answer

Your update function needs to return a selection, but it's currently returning a transition. Use .call to apply a transition to a selection inside join. See examples at https://observablehq.com/@d3/selection-join


Related Query

More Query from same tag