Fork of Line Chart with Multiple Lines
This example displays one week of temperature data for cities worldwide, using a multi-line chart with a color legend. The visualization plots time on the x-axis and temperature on the y-axis for each city, with lines sorted by final value. It uses d3.csv to load data, d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal with schemeCategory10 for color mapping, d3.line with curveBasis for smoothing, d3.nest for grouping, and d3.axisLeft/axisBottom for axes. Data comes from Data Canvas - Sense Your City, rendered as SVG with a multiply blend mode.
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.
https://raw.githubusercontent.com/ask4jm/Test/master/data.csv