🌍 Public
Viewing a saved revision (read-only)
e26dd4b7b5f54d04abd807d5fa0b66a8
Fork of Iris Parallel Coordinate Plot
This fork of the classic Iris parallel coordinate plot visualizes four flower measurements—sepal length, sepal width, petal length, and petal width—with colored lines for the three Iris species. Users can drag any axis to reorder the dimensions, which dynamically rearranges the paths and updates the axis positions. The code uses D3 v5 with `d3.scalePoint`, `d3.scaleLinear`, `d3.axisLeft`, `d3.line`, and `d3.drag` to render SVG paths and handle interactive reordering with smooth transitions. The data comes from the bundled `iris.csv` dataset, with species distinguished by color.
AI-generated description