Skip to main content
100%

Iris Parallel Coordinate Plot

✓ Published0🌍 Public
Cchungmin-yu
Last edited Oct 15, 2020
Created on Oct 15, 2020

This visualization uses a parallel coordinate plot to display the classic Iris dataset, with each flower’s sepal and petal measurements drawn as a polyline across four vertical axes. Lines are color-coded by species—setosa in green, versicolor in purple, and virginica in red—at 40% opacity to reveal clustering patterns. Built with D3 v5, the code uses `d3.scalePoint` for axis positioning, `d3.scaleLinear` for per-dimension value scaling, and SVG paths generated by a custom `path` function. Species colors are assigned through a conditional `class_color` function rather than a categorical scale.

AI-generated description
MIT Licensed

Similar vizzes