Fork of Line Chart with Multiple Lines
This line chart displays one week of temperature data from cities around the world, sourced from Data Canvas - Sense Your City. Each city appears as a distinct colored line, with a legend showing city names, and lines are sorted by their final temperature value. The chart includes labeled axes for time and temperature, plus a title, using a two-dimensional SVG rendering. The implementation uses d3.csv for data loading, d3.nest for grouping, d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal for scales, d3.line with curveBasis for path generation, axisLeft and axisBottom for axes, and a custom colorLegend function.