Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published0🌍 Public
HHanseul Lee
Last edited Aug 5, 2022
Created on Aug 3, 2022

A fork of a line chart displays one week of temperature data for cities worldwide, sourced from Data Canvas - Sense Your City. Multiple colored lines, one per city, are rendered using SVG paths with a basis curve, mapping timestamps to a time scale and temperatures to a linear scale. The chart uses d3.nest, d3.scaleOrdinal, and d3.schemeCategory10, with axes generated by d3.axisBottom and d3.axisLeft. A color legend is added via a custom component, and lines are layered with mix-blend-mode for visual distinction.

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