A11
✓ Published0🌍 Public
This example shows monthly temperature trends for New York, San Francisco, and Austin, with each city represented by a colored line on a time-series chart. Users can click city labels to toggle line visibility and hover over them to highlight the corresponding line. Built with D3 v7 in a React environment, it loads TSV data from a GitHub gist and uses d3.scaleTime, d3.scaleLinear, d3.line with curveBasis, d3.axisBottom, d3.axisLeft, and d3.zoom for interactive panning and scaling. SVG rendering handles paths and text labels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed