Skip to main content
100%

Temperatures in multiple cities

✓ Published0🌍 Public
Aanouckstbr@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This line chart displays daily average temperatures in degrees Celsius for multiple cities over the first five months of 2020, with each city represented by a colored line. The chart uses a categorical color scale to distinguish cities and includes a legend. The data is loaded from a CSV file and rendered as an SVG using D3 v5. The code employs `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.line` and `curveBasis` for line paths, and `d3.nest` to group data by city.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video:

MIT Licensed

Similar vizzes