Skip to main content
100%

HW2_basis1

✓ Published0🌍 Public
SSandyWu7179290504
Last edited Oct 19, 2022
Created on Oct 19, 2022

This is an interactive parallel coordinates plot that visualizes the classic Iris dataset, showing the relationships between sepal and petal measurements. The code highlights each of the three flower species—setosa, versicolor, and virginica—using distinct colors via a d3.scale.ordinal() color scale. It renders the data as SVG line paths, with a light gray background layer for all records and a colored foreground layer for focus. Users can drag the axis labels to reorder the dimensions, an interaction implemented with d3.behavior.drag(), which reshuffles the columns and updates the paths.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes