Skip to main content
100%

Brush, Trendline, Legend, Title, Linechart, Barchart

✓ Published1🌍 Public
LLiuXiangYuan
Last edited May 3, 2019
Created on Apr 28, 2019

This example combines a line chart and bar chart to explore groundwater levels at the Bog of the Ring, comparing two observation wells against effective rainfall. A brushed time-series chart filters the main visualization, updating a least-squares regression trendline and its equation. The main chart renders blue and orange lines for well measurements with a bar chart for rainfall, using d3.brushX, d3.nest, and d3.scaleTime. Data loads from CSV files, with SVG rendering and a categorical color legend.

AI-generated description
MIT Licensed

Similar vizzes