score:6

Accepted answer

Its quite simple, you just need to add and svg element inside of your div. And start coding d3.

Give me a moment, I am updating your fiddle.

Update: Here you go http://jsfiddle.net/6UJQ4/6/

I took the liberty of simplifying/stripping your example to lowest common denominator to reduce confusion.

Update: http://jsfiddle.net/6UJQ4/7/

In the previous fiddle, you will come across issues where all your markers will be selected everytime giving undesired results. So use last update.


Related Query