zoom e panela em d3.js

function handleZoom(e) {
 // apply transform to the chart
}

let zoom = d3.zoom()
  .on('zoom', handleZoom);
Thoughtless Tarsier