A7 - Interaction in D3
✓ Published0🌍 Public
This example shows daily average temperatures for New York, San Francisco, and Austin plotted as smooth line charts over time. Users can hover over lines to reduce their opacity, click a line or label to remove that city from the chart, and zoom the time axis using the mouse wheel. The visualization is built with D3 v7, loading data from a TSV file, using `d3.line` with `curveBasis`, `d3.scaleTime`, and `d3.zoom`, and rendering to SVG with animated transitions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed