Parallel Coordinate Plot
This interactive parallel coordinate plot visualizes the Iris dataset, displaying four numeric attributes (sepal length, sepal width, petal length, petal width) as vertical axes connected by colored polylines, with each line representing an individual flower and color encoding its species. Users can change which attribute appears on each axis via dropdown menus, and hovering over the color legend highlights all lines belonging to that species while fading others. The visualization uses React state to manage attribute selections and hover interactions, while D3’s `scaleLinear`, `scaleOrdinal`, and `line` APIs handle axis scaling, color mapping, and path generation, with data loaded via `d3.csv` and rendered as SVG.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses REACT state to keep track of the data.