Skip to main content
100%

916

✓ Published0🌍 Public
Ssunnyshih0312@gmail.com
Last edited Sep 16, 2024
Created on Sep 16, 2024

This interactive parallel coordinate plot visualizes the classic Iris dataset, displaying four measured attributes for three flower species. Built with D3 v5, it renders each flower as a colored polyline across vertical axes, with colors distinguishing Iris setosa, versicolor, and virginica. Users can drag any y-axis label to reorder the axes, dynamically repositioning the corresponding coordinate lines. The implementation uses `d3.scaleLinear` and `d3.axisLeft` for axes, with `d3.drag()` handling the interactive reordering and `d3.transition()` animating the axis shifts.

AI-generated description
MIT Licensed

Similar vizzes