Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HW2_example

Public visualization

Viewing a saved revision (read-only)

9e7f9f1acb6d4d4095b8815a325a5b2b

HW2_example

1 star0🌍 Public
SSandyWu7179290504
Last edited Oct 21, 2022
Created on Oct 21, 2022
Forked from HW2_move1

This interactive parallel coordinate plot visualizes the Iris dataset, displaying 150 samples across four dimensions: sepal length, sepal width, petal length, and petal width. Each polyline represents a single flower, color-coded by species (setosa, versicolor, virginica) using a fixed color map. Users can drag the vertical axes to reorder dimensions, dynamically updating the line paths and axis positions with smooth transitions. Built with D3 v5 and React, the visualization uses `select`, `scalePoint`, `scaleLinear`, `line`, and `drag` APIs to render SVG paths and support the reordering interaction.

AI-generated description

React Starter code.