Iris Parallel Coordinate Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed