A d3 version 3 implementation of a zoomable view with clickable content. Click the orange circle to turn it into red, drag with the mouse to pan, use the mouse wheel to zoom, or pinch with your fingers to zoom and pan.
Compare with a d3 version 4 implementation.
https://d3js.org/d3.v3.min.js