d3.zoomTransform takes a node, not a selection. zoom.scaleBy is relative. If you want to zoom in by one “level”, pass it a value of 2. Then you probably won't need ...
DOWNLOAD: https://tinurli.com/2f6kck
DOWNLOAD: https://tinurli.com/2f6kck
d3-v5-zoom-scaleby
939c2ea5af
Comments