Skip to main content
100%

26_Temp in San Fran line Chart - multiple lines

✓ Published1🌍 Public
FFMajid-ops
Last edited Dec 23, 2020
Created on Dec 23, 2020

This visualization displays a week of temperature readings from multiple cities, with each city represented as a distinct colored line on a time-series chart. The chart uses d3.scaleTime, d3.scaleLinear, and d3.line with a curveBasis spline to smooth the lines, while d3.nest groups the data by city. A color legend generated by a custom colorLegend function and d3.scaleOrdinal with schemeCategory10 identifies each line. The data is loaded from a CSV file and parsed with d3.csv.

AI-generated description

The line chart

MIT Licensed

Similar vizzes