Tooltips for data series

This example demonstrates how to use an external tooltip library with d4. In this case we are using Twitter Bootstrap's tooltip (on mouse over) and popover effects (on mouse click). More importantly, this example shows how d4 creates a transparent proxy between d3's own mouse event handler so that d4 doesn't have to reinvent the wheel.


JavaScript Code