block by d3noob 8150631

Adding links to objects

Full Screen

The above example is intended to demonstrate adding a hyperlink to an object (the rectangle) and instructing the text object to be transparent to the pointer so that the link on the rectangle is recognised ‘through’ the text. This is the example code for a section on adding links to d3.js objects in the book D3 Tips and Tricks

index.html