Skip to main content
100%

hw2

✓ Published1🌍 Public
Kkenny-wq
Last edited Oct 18, 2023
Created on Sep 21, 2023
Forked from HTML Starter

This interactive visualization displays the Iris dataset using a parallel coordinate plot, with each flower species colored distinctly (red, blue, and yellow). Users can reorder the four coordinate axes—sepal length, sepal width, petal length, and petal width—by entering numbers 1 through 4 and clicking a button, which triggers a re-render of the SVG paths. The code uses d3.csv to load data, d3.scaleLinear for y-axes, d3.scalePoint for the x-axis, and d3.axisLeft to draw the coordinate scales.

AI-generated description
MIT Licensed

Similar vizzes