Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in US Cities over Time

Public visualization

Viewing a saved revision (read-only)

84cf4f4fadcb43a59d0975e92ecc23fa

Temperature in US Cities over Time

1 star0🌍 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