Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Line Chart with Multiple Lines

Public visualization

Fork of Fork of Fork of Line Chart with Multiple Lines

0 stars0๐ŸŒ Public
JJaswitha09
Last edited Nov 28, 2021
Created on Nov 28, 2021

A multi-line chart displays one week of temperature data from Data Canvas - Sense Your City, plotting temperatures in Celsius over time for multiple cities. Each city appears as a separate smoothed line, colored via d3.scaleOrdinal with schemeCategory10 and sorted by final temperature. The visualization uses d3.line with curveBasis, d3.scaleTime, d3.scaleLinear, and d3.nest to structure the data. A color legend built with a custom function, axis labels, and gridlines rendered as SVG complete the chart.

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