š Public
Viewing a saved revision (read-only)
f11e898b66a445aaab6ac9d7cb397f9f
HW2 Iris Parallel Coordinate Plot
JJuliachien
Last edited Oct 17, 2022
Created on Oct 17, 2022
This interactive parallel coordinate plot uses the classic Iris dataset to visualize four measured features (sepal length, sepal width, petal length, petal width) across three flower species. Built with D3.js v3, it renders each sample as a polyline via `d3.line`, with colors assigned by species. Users can drag any vertical axis to reorder dimensions, and the y-axis domain switches between a union range and per-axis self-scaling using d3.scaleLinear. Hovering over any line highlights all lines of the same species through opacity transitions, while a dropdown menu toggles the axis range mode.
AI-generated description