🌍 Public
Viewing a saved revision (read-only)
3831b5637c384acd967c11454aca55f9
Assignment11 Interactions
This example presents three temperature time-series lines for New York, San Francisco, and Austin, loaded as TSV data and rendered as SVG paths with a basis curve. It uses D3 v7 scales (`d3.scaleTime`, `d3.scaleLinear`, `d3.scaleOrdinal`) and axes (`d3.axisBottom`, `d3.axisLeft`). Users can hover over city labels to dim non-matching lines, click to toggle each line’s visibility, and reorder lines by hovering. The visualization demonstrates interactive selection, filtering, and layering through D3 selections and style manipulation.
AI-generated description