Fork of Line Chart with Multiple Lines
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.