Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Line Chart with Multiple Lines

0 stars0🌍 Public
AAleksandr
Last edited Apr 8, 2020
Created on Apr 8, 2020

This line chart visualizes one week of temperature readings in degrees Celsius for multiple cities, with each city represented by a colored line. The data comes from the Data Canvas - Sense Your City project. Using d3.line with curveBasis, the chart smooths the temperature trends over time, while d3.scaleTime and d3.scaleLinear map timestamps and temperatures to the SVG canvas. A color legend built with a custom d3 module and d3.scaleOrdinal helps identify each city, and axis labels clarify the time and temperature scales.

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.

Comments

Sign in to join the discussion.

MIT Licensed