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
AAmanda-Tai
Last edited Oct 19, 2022
Created on Oct 19, 2022

This visualization is an interactive parallel coordinate plot of the classic Iris dataset, showing four floral measurements (sepal and petal length/width) as linked axes. Lines represent individual flowers, colored by species (setosa, versicolor, virginica), with a hover effect that highlights one species while dimming others. Built with D3.js v4, the example uses `d3.scalePoint` for axis positioning, `d3.line` to generate the polylines, and `d3.drag` for interactive axis reordering. Users can click and drag axis labels to swap their positions, with the plot updating in real time. The SVG renderer handles the paths, axes, and text labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed