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)

53d92f1f92454baf899477816b25784a

Line Chart with Multiple Lines

0 stars0🌍 Public
LLittledevil7
Last edited Jun 8, 2020
Created on Jun 8, 2020

A multi-line chart displays one week of temperature data in Celsius for cities worldwide, sourced from Data Canvas – Sense Your City. Each line represents a city, colored via a categorical scale, with a legend and axes labeled for time and temperature. Built with D3 v5, the code uses `d3.csv`, `scaleTime`, `scaleLinear`, `scaleOrdinal`, `axisBottom`, `axisLeft`, `line` with `curveBasis`, and `nest` to group by city. The SVG rendering includes gridlines, a title, and smooth curved paths.

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.