I am working on a d3 visualisation in React, and I am struggling a bit with the zooming and panning. I have set something up that makes it possible to zoom and pan on the x-scal