Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

7d32097dc7f449b19ebf337f717b8a3b

Line Chart with Multiple Lines

0 stars0🌍 Public
Ssiim1
Last edited Nov 3, 2018
Created on Nov 3, 2018

This line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. The visualization plots temperature over time, with each city represented by a colored line and a legend identifying the cities. It uses d3.csv to load data, d3.scaleTime and d3.scaleLinear for axes, d3.nest to group by city, and d3.line with curveBasis for smooth paths. The SVG rendering includes gridlines, axis labels, and a custom color legend built with d3.scaleOrdinal and schemeCategory10.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.