d3-drag

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

d3d3-moduledragbehaviorinteraction

https://d3js.org/d3-drag/