Skip to main content
100%

Iris Parallel Coordinate Plot

✓ Published12🌍 Public
Gginnyching
Last edited Dec 30, 2022
Created on Oct 19, 2022

This interactive parallel coordinate plot visualizes the classic Iris dataset, showing how sepal length, sepal width, petal length, and petal width vary across the three Iris species. Each semi-transparent polyline represents a single flower, with its color encoding species membership, making it easy to compare distributions and correlations between the four numeric dimensions. The visualization uses d3.scaleLinear for each axis and d3.line to construct the paths. Users can drag the axis labels left or right to reorder the dimensions, a feature implemented with d3.drag, which triggers smooth animated transitions via the `.transition()` method. The SVG is rendered with a clean, white background and a legend.

AI-generated description
MIT Licensed

Similar vizzes