Learning D3 Multiple Lines
✓ Published0🌍 Public
This line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. The visualization uses d3.csv, d3.nest, d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, and d3.line with curveBasis to render smooth, multi-colored city paths. A custom colorLegend module creates an SVG legend, while axis labels and a title are appended manually. The code includes a YouTube tutorial link for learning purposes, and the data is loaded from a VizHub-hosted CSV file.
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.
MIT Licensed