Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

6d196bde1ca74ea6b17d15858298a85f

Fork of Line Chart with Multiple Lines

0 stars1🌍 Public
JJaswitha09
Last edited Nov 28, 2021
Created on Nov 28, 2021

This chart visualizes a week of temperature data from cities worldwide, using a line chart with multiple colored lines to compare temperature trends over time. It displays time on the x-axis and temperature in degrees Celsius on the y-axis, with each city represented by a distinct color from the `scaleOrdinal` and `schemeCategory10` palette. The visualization uses `d3.line` with `curveBasis` for smoothing and includes a color legend generated by a custom `colorLegend` function. Data is loaded via `d3.csv` from the Data Canvas - Sense Your City dataset and rendered as SVG.

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.