Skip to main content
100%

Multiple Instances

✓ Published2🌍 Public
CCurran Kelleher
Last edited Apr 17, 2019
Created on Apr 17, 2019
Forked from Multiple Instances

Two interactive line charts display monthly water level measurements for two wells, sharing a synchronized brush. The upper chart shows the full dataset, while the lower chart's brush selection filters the time domain of the upper chart via `d3.brushX` and `event.selection`. Both use `d3.line`, `d3.nest`, and `d3.scaleTime` to render multiple colored series per well, with data loaded from a CSV. The `brushChart` function is instantiated twice in `index.js`, demonstrating reusable chart components.

AI-generated description
MIT Licensed

Similar vizzes