Skip to main content
100%

Focus+Context+Scanning

✓ Published0🌍 Public
RRicCheng
Last edited Sep 23, 2016
Created on Sep 23, 2016

This example demonstrates a focus+context area chart for exploring daily price data over time. It shows a large main chart for detailed viewing and a smaller overview chart below it. Users can click and drag a brush in the context panel to pan or zoom the focused view. The visualization uses D3 v3's `d3.svg.brush` component for both the context selection and a scanning feature in the main chart, which reveals a dropline and circle on mouseover. The data is loaded from a CSV file, and the SVG rendering includes animated brush interactions.

AI-generated description

This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.

forked from <a href='http://bl.ocks.org/vlandham/'>vlandham</a>'s block: <a href='http://bl.ocks.org/vlandham/4215939'>Focus+Context via Brushing</a>

mit Licensed

Similar vizzes