Skip to main content
100%

0816043_HW2

✓ Published0🌍 Public
Rravencyan
Last edited Oct 16, 2022
Created on Oct 16, 2022

This example uses D3 v5 to create an interactive parallel coordinate plot of the Iris dataset, visualizing four flower measurements (sepal length, sepal width, petal length, petal width) as polylines colored by species. Users can drag the vertical axes to reorder them, with a d3.drag handler updating the line paths and axis positions in real time. The code renders with SVG, animates transitions via transition.attr, and includes a legend for the three Iris species. The linear scale for the y-axis and point scale for the x-axis are defined using d3.scaleLinear and d3.scalePoint.

AI-generated description
MIT Licensed

Similar vizzes