Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Melting data with multiple lines

Public visualization

Viewing a saved revision (read-only)

5b31c43e010e4310ab64291abf3bae1e

Melting data with multiple lines

0 stars0🌍 Public
Kkbriggs1
Last edited Aug 26, 2019
Created on Aug 26, 2019

This visualization shows suicide generation numbers over time from 1985 to 2016, with multiple colored lines representing different regions and countries sorted by their final values. The chart uses d3.line with curveBasis smoothing, d3.scaleTime for the x-axis, and d3.scaleOrdinal with schemeCategory10 for line colors. Data is melted from wide CSV format using d3.nest and d3.range, and a custom color legend is rendered alongside the SVG axes.

AI-generated description