Skip to main content
100%

Temperature in multiple cities

✓ Published2🌍 Public
JJacob van Lingen
Last edited May 20, 2020
Created on May 20, 2020

Multiple city temperature trends are visualized as colored line paths over time, with a legend identifying each city and sorting them by final temperature value. The D3.js v5 code uses `nest()` to group data by city, `scaleTime` and `scaleLinear` for axes, and `line().curve(curveBasis)` for smooth paths. A color legend is built with a custom reusable component, while gridlines and axis labels support reading the temperature and time scales. The data comes from a CSV file of one week of city weather observations.

AI-generated description
MIT Licensed

Similar vizzes