All examples By author By category About

AndresAnayaIsaza

X-Value Mouseover

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 mbostock's block: X-Value Mouseover