Skip to main content
100%

Fork of Iris Parallel Coordinate Plot

✓ Published0🌍 Public
Eevonne0930.cs11@nycu.edu.tw
Last edited Sep 21, 2024
Created on Sep 21, 2024

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
MIT Licensed

Similar vizzes