🌍 Public
Fork of Line Chart with Multiple Lines
This visualization displays one week of temperature data from cities around the world as multiple smooth line paths, colored by city and sorted by final temperature. It uses D3 v5 APIs including `d3.nest`, `d3.scaleTime`, `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.line` with `curveBasis`, and `d3.axisLeft`/`axisBottom` to render an SVG chart with gridlines, axis labels, and a custom color legend. The data comes from the Data Canvas - Sense Your City dataset, loaded via `d3.csv`.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.
MIT Licensed
Comments
Sign in to join the discussion.