d3-zoom

Pan and zoom SVG, HTML or Canvas using mouse or touch input.

d3-drag

Drag and drop SVG, HTML or Canvas using mouse or touch input.