Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published0🌍 Public
SSpeedo8769
Last edited Aug 2, 2023
Created on Aug 2, 2023

This line chart displays the total number of premature endings from 2020 to 2023, with each line colored by reason. The chart uses d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.line, and d3.axisLeft/axisBottom to map data points, while a custom colorLegend function renders the categorical legend. Data is loaded via d3.csv from a remote source, and the SVG rendering includes a multiply blend mode for overlapping lines.

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