Line Chart with Multiple Lines
This line chart displays one week of temperature data for cities around the world, sourced from Data Canvas - Sense Your City. Each city appears as a smooth curve, colored by a categorical scale and sorted by its final temperature. The visualization uses D3 v5 with SVG rendering, employing `d3.line` with `curveBasis`, `d3.nest` for grouping, and `scaleTime`/`scaleLinear` for axes, plus a custom color legend component.