🌍 Public
Viewing a saved revision (read-only)
0e1198d92c31440aa3b2c4e21bf062f6
HW2 : Parallel Coordinate Plots
This example visualizes the Iris dataset using a parallel coordinate plot, where each flower’s measurements are drawn as a colored line across four vertical axes representing sepal length, sepal width, petal length, and petal width. The lines are color-coded by species using a d3.scaleOrdinal with a custom purple-to-yellow palette. Two dropdown menus and a button let users swap the order of any two axes, rebuilding the chart via d3.line and d3.scalePoint. The visualization is rendered with SVG and uses d3.axisLeft for tick marks.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.