A11 - Interaction
✓ Published0🌍 Public
This example shows a multi-series line chart of daily temperatures for New York, San Francisco, and Austin, rendered as SVG using D3 v7. It demonstrates interaction: hovering over a line highlights it in color while others fade to light grey, and clicking toggles a line’s visibility. The data is loaded from a TSV file and parsed with `d3.timeParse`. The chart uses `d3.scaleTime`, `d3.scaleLinear`, `d3.line` with `d3.curveBasis`, and `d3.axisBottom`/`d3.axisLeft` for axes, with CSS transitions on stroke styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed