Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

26_Temp in San Fran line Chart - multiple lines

Public visualization

Viewing a saved revision (read-only)

951d2cedec47473ca0320fbbb57b9954

26_Temp in San Fran line Chart - multiple lines

0 stars1🌍 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