Parallel Coordinate Plots
This parallel coordinate plot visualizes the Iris flower dataset, displaying four morphological attributes (sepal length, sepal width, petal length, and petal width) for three species of iris. Each sample is represented as a polyline connecting its attribute values across parallel axes, with lines colored by species (setosa, versicolor, and virginica) using a D3 ordinal color scale. The visualization uses D3 v7 with an SVG rendering approach, employing native `d3.axisLeft` and `d3.line` APIs for constructing the axes and polylines. An interactive dropdown menu allows users to reorder the four axes, triggering a redraw of both the vertical axes and the connecting lines via a custom `redrawParallelCoordinates` function. The data is loaded from an external CSV file using `d3.csv`.
AI-generated descriptionA demonstration of how to start using D3 version 6.