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)

06db738066274750817b3a6ab550ef87

Line Chart with Multiple Lines

0 stars0🌍 Public
Ddanhuijia
Last edited Jan 28, 2020
Created on Jan 28, 2020

This line chart displays one week of temperature data from cities around the world, sourced from Data Canvas - Sense Your City. Each smooth, colored line represents a different city’s temperature over time, with an ordinal color scale and a legend function defined in a separate module. The visualization uses D3 v5’s `csv`, `scaleTime`, `scaleLinear`, `line` with `curveBasis`, and `nest` to group data by city. The SVG rendering includes axis labels, a title, and gridlines styled via CSS.

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.