Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published0🌍 Public
DDamon Young
Last edited Jun 5, 2023
Created on Jun 5, 2023

This line chart shows one week of temperature readings in degrees Celsius for cities around the world, sourced from Data Canvas - Sense Your City. The visualization uses d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal with a schemeCategory10 palette to map each city to a distinct colored line, rendered as smooth curves via d3.line with curveBasis. A custom colorLegend component positions circles and labels beside the chart. The SVG rendering includes axes with tick marks, axis labels, and a title, with lines using mix-blend-mode for readability.

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