Skip to main content
100%

Iris parallel coordinate plot

✓ Published1🌍 Public
AAmanda-Tai
Last edited Oct 21, 2022
Created on Oct 19, 2022

A parallel coordinate plot visualizes the classic Iris dataset, displaying four numerical traits—sepal length, sepal width, petal length, and petal width—as connected polylines. Each line represents one flower, colored by species (setosa, versicolor, virginica) using distinct hues. Built with d3.v5 and SVG, the chart uses `d3.scalePoint` and `d3.scaleLinear` for axes and `d3.line` for paths. Users can drag any vertical axis horizontally via `d3.drag` to reorder dimensions, with smooth transitions applied to paths and axes during reordering.

AI-generated description
MIT Licensed

Similar vizzes