🌍 Public
Viewing a saved revision (read-only)
d1b4d05f79b4420d8337442015ed888d
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