Skip to main content
100%

Fork of Brush, Trendline, Legend, Title, Linechart, Barchart

✓ Published0🌍 Public
AAndre J Denais
Last edited Jan 13, 2022
Created on Jan 13, 2022

This fork of a D3.js example combines a line chart of EPA groundwater monitoring levels with a bar chart of effective rainfall for the Bog of the Ring. A brushed time-series chart filters both views synchronously, and a dashed trendline with its equation updates based on the selected date range. The code uses `d3.brushX`, `d3.scaleTime`, `d3.axisBottom`, and `d3.nest` to build the SVG rendering, with `d3.csv` loading the two datasets. A color legend distinguishes the observation wells and rainfall series.

AI-generated description
MIT Licensed

Similar vizzes