Skip to main content
100%

HW2_move2

✓ Published0🌍 Public
SSandyWu7179290504
Last edited Oct 19, 2022
Created on Oct 19, 2022

This interactive parallel coordinate plot visualizes the Iris dataset, with each polyline representing a flower sample and colored by its class (setosa, versicolor, or virginica) using d3.scale.ordinal. Users can drag any of the four axis labels to reorder dimensions, triggering smooth transitions via d3.behavior.drag and transition.attrTween. The SVG rendering uses d3.svg.line and d3.svg.axis, with background polylines in light gray and foreground strokes in class-specific colors. A legend and title are embedded in the same SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes