Timing comparison for finding the array index closer to a number (in my case finding the point closer to the mouse)
SVG position must be set for it to stay on top
Mootools 1.4.5, HTML, CSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript
Import with d3.xml, appendChild to a group element, change the attributes from D3
AngularJS 1.1.1, HTML, CSS, JavaScript
D3 3.x, HTML, CSS, JavaScript
Mootools 1.4.2, HTML, CSS, JavaScript
Copy of https://gist.github.com/mbostock/3887235