🌍 Public
Line Chart with Multiple Lines
This line chart displays one week of temperature data for multiple cities worldwide, sourced from the Data Canvas - Sense Your City dataset. It uses d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal with schemeCategory10 to map timestamps, temperatures, and cities, respectively, while d3.line with curveBasis generates smooth paths for each city's temperature trend. The visualization includes axes with gridlines, axis labels, a title, and a custom color legend, all rendered as SVG elements.
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.