Line Chart with rectangles
This line chart displays one week of temperature data for cities worldwide, sourced from Data Canvas - Sense Your City. Multicolored lines represent each district’s temperature over time, with a legend clarifying the color mapping. Semi-transparent yellow and blue rectangles overlay the chart to highlight specific time ranges, complemented by an axis and title. The visualization uses d3.csv for data loading, d3.scaleTime and d3.scaleLinear for scales, d3.line with curveBasis for path generation, and d3.nest for grouping, rendering in SVG with animation.