Skip to main content
100%

Temperature in US Cities over Time

✓ Published0🌍 Public
PPeter Gish
Last edited Apr 7, 2022
Created on Apr 7, 2022
Forked from Hello VizHub

This visualization displays temperature measurements for New York, San Francisco, and Austin over time, using multiple colored lines on a shared time axis. The chart lets users click on city labels to show or hide corresponding lines, with hover interactions resetting stroke colors. Built with D3 v7, it loads a TSV dataset, parses dates with `d3.timeParse`, and renders SVG paths via `d3.line` with curve interpolation. The y-axis is labeled in degrees Fahrenheit, and lines are colored using `d3.scaleOrdinal` with `d3.schemeCategory10`.

AI-generated description
MIT Licensed

Similar vizzes