🌍 Public
Viewing a saved revision (read-only)
b38ea4a308914e2597d3cc576e5f78ba
paralell coordinates
This parallel coordinates plot visualizes mental health metrics, including Anxiety, Depression, and Sleeplessness, with lines colored by gender (steelblue for males, hotpink for females). The code uses D3 v7’s `d3.csv` to load student data, `d3.scaleLinear` and `d3.scalePoint` to map dimensions, and `d3.line` to generate paths. Axes are added via `d3.axisLeft`, and hovering highlights individual lines by increasing opacity and stroke width.
AI-generated description