hw2
✓ Published0🌍 Public
This interactive parallel coordinates plot visualizes the Iris dataset, showing each sample as a polyline connecting four dimensions (sepal/petal length and width) across vertical axes. The tool uses D3 v5's `scalePoint` for axis layout, `scaleLinear` for y-scaling, and `drag` API to allow users to reorder dimensions by dragging axis labels, which dynamically rearranges the paths via the `position` function. Lines are colored by iris species using `scaleOrdinal` with `schemeCategory10`, while SVG text and styled legend swatches indicate the three classes. The data loads from a remote CSV URL and renders as an SVG scene.
AI-generated descriptionReact Starter code.
MIT Licensed