Skip to main content
100%

Fork of Iris Parallel Coordinate Plot

✓ Published0🌍 Public
Ccindy203cc
Last edited Oct 19, 2022
Created on Oct 19, 2022

This interactive parallel coordinate plot visualizes the classic Iris dataset, displaying four morphometric traits for three iris species. The SVG rendering uses semi-transparent, colored polylines to represent individual flowers, with the user able to reposition axes by dragging them. The code relies on D3's `d3.scalePoint`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.line` to construct the plot, while a `select` element toggles between `union` and `self` Y-axis scaling. A drag interaction updates the axis positions and animates the transition using D3's `.transition()` method.

AI-generated description
MIT Licensed

Similar vizzes