Skip to main content
100%

Line Chart with Multiple Lines

✓ Published0🌍 Public
Ssiim1
Last edited Nov 3, 2018
Created on Nov 3, 2018

A line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. Multiple colored lines, one per city, are plotted over time using d3.line with curveBasis interpolation to smooth the paths. The visualization uses d3.scaleTime and d3.scaleLinear for axes, d3.nest to group data by city, and d3.scaleOrdinal with schemeCategory10 for colors. A custom color legend is rendered alongside axes with tick marks and labels, all created using SVG rendering in d3 v5.

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.

MIT Licensed

Similar vizzes