Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

374c7f5b5d99440c8a330e100e0a77d2

Fork of Line Chart with Multiple Lines

0 stars0🌍 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.