All examples By author By category About

Thanaporn-sk

X-Value Mouseover with Droplines

forked this bl.ock and added droplines from the focus point on the series line to the x and y axes.


A line chart with mouseover so that you can read the y-value based on the closest x-value. The x-value is found using d3.mouse and scale.invert. The y-value is then found by bisecting the data.

forked from micahstubbs's block: X-Value Mouseover with Droplines