Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Parallel Coordinate Plot

Public visualization

Fork of Iris Parallel Coordinate Plot

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed