Line Chart with Multiple Lines
✓ Published0🌍 Public
This line chart shows a week of temperature data for San Francisco, with multiple colored lines representing different cities over time. The visualization uses d3.line with curveBasis to create smooth paths, d3.scaleTime and d3.scaleLinear for the x and y axes, and d3.scaleOrdinal with schemeCategory10 for color encoding. Data is loaded via d3.csv from a Data Canvas dataset, with nested grouping via d3.nest and a custom colorLegend component rendering as SVG.
AI-generated descriptionThis Line Chart shows one week of temprature in San Francisco city. Data comes from [Data Canvas- Sense your city] https://archive.ics.uci.edu/ml/datasets/auto+mpg
MIT Licensed