Skip to main content
100%

HW2_example

✓ Published0🌍 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.

MIT Licensed

Similar vizzes