All examples By author By category About

AlainRo

d3v4 - zoom and drag circles - drag adjusted for zoom

Example of zoom and drag in d3 v4.

This example has a modified drag function so that when you zoom in, you're still able to drag the circles to the correct mouse location. Here's an example of the drag problem.

forked from puzzler10's block: d3v4 - zoom and drag circles - drag adjusted for zoom

forked from Thanaporn-sk's block: d3v4 - zoom and drag circles - drag adjusted for zoom