Skip to main content
100%

-line Chart

✓ Published0🌍 Public
TTarun Kumar Bosupally
Last edited Mar 28, 2024
Created on Mar 28, 2024

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes