Line Chart with Multiple Lines
This example shows a week of temperature readings for multiple cities, with each city represented as a separate colored line plotted over time. The chart includes a color legend, labeled axes, and a title, with lines sorted by their final temperature values. It uses D3 v5’s `scaleTime`, `scaleLinear`, and `scaleOrdinal` for scales, `line` with `curveBasis` for path generation, and `nest` to group data by city. Temperature data is loaded from a CSV file and rendered as an SVG with axis and legend components.