andresin87
Drag The circle through the svg area and discover the behaviour.
The "pathSegList" method was removed in chome version 58 so you need to include the javascript library "pathseg.js".
Newest faster version Here!
https://d3js.org/d3.v3.min.js