Skip to main content
100%

Line Chart with Multiple Lines

✓ Published2🌍 Public
NNeepaB
Last edited Jan 5, 2021
Created on Jan 5, 2021

This line chart displays one week of temperature data for multiple cities in San Francisco, sourced from Data Canvas - Sense Your City. Lines are rendered in SVG using d3.line and d3.curveBasis to smooth the series, with colors assigned via d3.scaleOrdinal and a categorical color scheme. Axes use d3.axisLeft and d3.axisBottom, while a custom colorLegend function draws circles and labels for the city names, and the data is loaded with d3.csv.

AI-generated description

This line chart shows one week of temperature ( in degrees celcius) in San Francisco. The data comes from Data canvas - sense your city.

MIT Licensed

Similar vizzes