Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

916

Public visualization

Viewing a saved revision (read-only)

4b8224a76cc24c55a8dae3911d3ede26

916

0 stars0🌍 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