Skip to main content
100%

d3 mouseover multi-line chart

✓ Published0🌍 Public
Aanqi-lu
Last edited Nov 8, 2017
Created on Nov 8, 2017

An interactive multi-line chart displays temperature readings for New York, San Francisco, and Austin over time, with each city represented by a distinct colored line and legend. The visualization uses D3 v3 to render SVG elements, including axes, lines, and text labels, while parsing tab-separated data via `d3.tsv.parse`. Mouseover effects, implemented with D3 event handlers, highlight the closest data point and display a vertical guide line, enhancing comparison across the three series.

AI-generated description

An interactive multi-line chart.

Note, I borrowed a bit of code from Duopixel's excellent code sample here.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/larsenmtl/'>larsenmtl</a>'s block: <a href='http://bl.ocks.org/larsenmtl/e3b8b7c2ca4787f77d78f58d41c3da91'>d3 mouseover multi-line chart</a>

mit Licensed

Similar vizzes