Line Chart with Multiple Lines
✓ Published2🌍 Public
This line chart displays a week of temperature readings from multiple cities around the world, with each city represented by a distinct colored line plotted over time. The visualization uses D3 v6 with SVG rendering, employing `d3.scaleTime`, `d3.scaleLinear`, `d3.line` with `curveBasis`, and `d3.nest` to group data by city. A color legend built with `d3.scaleOrdinal` and `schemeCategory10` identifies each line. The data comes from a CSV file loaded via `d3.csv` and rendered with custom axes, grid lines, and a title.
AI-generated descriptionThis dataset can also be found at https://vizhub.com/curran/datasets/temperature-in-san-francisco.csv
Video: https://youtu.be/xFI-us1moj0?t=915 Color legend:
MIT Licensed