Skip to main content
100%

HW2 v2

✓ Published0🌍 Public
Nnathanowen06
Last edited Oct 2, 2023
Created on Oct 2, 2023

This interactive parallel coordinate plot visualizes the Iris dataset, with each polyline representing a flower and color-coded by species. Users can drag the four axes (sepal length, sepal width, petal length, petal width) horizontally to reorder dimensions, with smooth transitions animating the paths and axes into their new positions. The visualization is built using React and D3 v5, leveraging `scalePoint`, `scaleLinear`, `axisLeft`, and `line` for rendering, while `drag` and `event` handle the interaction. A legend and side panel identify the three species, and the SVG output includes hover cursors and opacity styling for the polylines.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes