Bar and Line chart
✓ Published3🌍 Public
This example displays a dual-axis chart combining bars for effective rainfall and a line with points for water level over time. The visualization uses two scales, time on the x-axis, and separate linear scales for the bar and line values. Panning and zooming are implemented via d3.zoom, rescaling both axes and updating the shapes. Data is loaded from two CSV files using d3.csv, and all elements are rendered as SVG.
AI-generated descriptionMIT Licensed