score:2

Accepted answer

Move the code that attaches the zoom behaviour to the SVG outside the update function. Working example here.


Related Query

More Query from same tag