-line Chart
✓ Published0🌍 Public
This line chart displays monthly average temperatures in degrees Fahrenheit for four US cities—NYC, LA, Chicago, and Houston—with each city drawn as a colored line (blue, red, green, orange). The visualization uses D3 v7 to load CSV data via `d3.text`, parse the temperature values, and render the chart as SVG using `d3.scaleBand` and `d3.line`. Interactive tooltips appear on hover over data points, implemented with mouseover events that display the city and temperature. A fixed y-domain from 10 to 90°F emphasizes relative seasonal patterns across the year.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed