Skip to main content
100%

hw2_3

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

This visualization displays the Iris dataset as a parallel coordinate plot, with four axes representing sepal length, sepal width, petal length, and petal width. Each of the 150 flowers appears as a colored polyline linking its measurements across the axes, with species distinguished by red, yellow, and green strokes, alongside a legend. The code uses d3.scalePoint for categorical axis placement, d3.scaleLinear for the numeric range, and d3.line to generate the paths. Axes are rendered using d3.axisLeft and positioned via the SVG transform attribute, with data loaded through d3.csv.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes