Line Chart with Multiple Lines
This line chart shows one week of temperature readings in cities worldwide, sourced from Data Canvas - Sense Your City. It plots temperature over time for multiple cities, with each city assigned a unique color from the d3.schemeCategory10 palette and a legend generated via a custom colorLegend component. The visualization uses d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.axisLeft, d3.axisBottom, and d3.line with curveBasis for smooth curves. Data is loaded via d3.csv, parsed with timestamps converted to Date objects, and rendered as SVG paths with mix-blend-mode styling.