Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart with Multiple Lines (Log)

Public visualization

Viewing a saved revision (read-only)

79906ee1631442e9890a59b4187c0323

Fork of Line Chart with Multiple Lines (Log)

0 stars0🌍 Public
BBKirst3
Last edited Mar 4, 2021
Created on Mar 4, 2021

This fork of a line chart visualizes one week of temperature readings in cities worldwide, sourced from the Data Canvas - Sense Your City project. The chart uses `d3.scaleLog` for the temperature axis and `d3.scaleTime` for time, with SVG rendering via D3 v5. A legend is rendered with a `colorLegend` function, and circles with value labels are added every 10th data point for Rio de Janeiro. The code nests data by city using `d3.nest` and draws smooth lines with `d3.line` and `d3.curveBasis`.

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.