Skip to main content
100%

Bar and Line chart

✓ Published0🌍 Public
SShane Carey
Last edited Apr 23, 2019
Created on Apr 23, 2019
Forked from Bar and Line chart

This example combines a bar chart of effective rainfall with a line and circle overlay of water level, both plotted against a shared time axis. The dual y-axes use independent linear scales, while the x-axis uses a time scale. Built with D3 v5, it renders to SVG and supports zooming via `d3.zoom`, which rescales all axes and re-renders bars, circles, and a line path generated with `d3.line`. The data is loaded from two CSV files hosted on VizHub. The chart initially displays the full dataset before user interaction.

AI-generated description
MIT Licensed

Similar vizzes