HW2_basis1
✓ Published0🌍 Public
This is an interactive parallel coordinates plot that visualizes the classic Iris dataset, showing the relationships between sepal and petal measurements. The code highlights each of the three flower species—setosa, versicolor, and virginica—using distinct colors via a d3.scale.ordinal() color scale. It renders the data as SVG line paths, with a light gray background layer for all records and a colored foreground layer for focus. Users can drag the axis labels to reorder the dimensions, an interaction implemented with d3.behavior.drag(), which reshuffles the columns and updates the paths.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed