Skip to main content
100%

HW2_basis2

✓ Published1🌍 Public
SSandyWu7179290504
Last edited Oct 20, 2022
Created on Oct 20, 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 flower is drawn as a polyline, colored by species (setosa, versicolor, virginica) using a custom color mapping, with a legend indicating the classes. The code uses D3 v5’s `scalePoint` and `scaleLinear` for positioning, `line()` for generating paths, and `axisLeft` for rendering axes. The data is loaded via `d3.csv` from a GitHub-hosted CSV file, and the plot is rendered as SVG with semi-transparent strokes.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes