Line Chart with Multiple Lines
✓ Published1🌍 Public
This line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. The visualization uses d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal with d3.nest to group data by city, rendering smooth lines via d3.line with curveBasis. A custom color legend component and d3.axisBottom/axisLeft with grid lines complement the SVG rendering. d3.csv loads the data, while styles apply stroke-linejoin, stroke-linecap, and mix-blend-mode for visual distinction.
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