I have a SVG which can be zoomed and also a \"reset\" button. I\'m resetting the zoom with
zoom.transform(selection, d3.zoomIdentity)
This wor
I meet the same problem using
this.svg.selectAll('g').call(this.zoom.transform, d3.zoomIdentity.scale(1));
and I change to
this.svg.call(this.zoom.transform, d3.zoomIdentity.scale(1));
soloved the problem.
I think the _zoom will be stored in the svg level also.
_zoom
svg