Skip to main content
100%

homework1-IRIS Parallel Coordinate Plot

✓ Published0🌍 Public
Yyuting89830@gmail.com
Last edited Nov 8, 2023
Created on Sep 28, 2023

This parallel coordinate plot visualizes the Iris dataset, showing relationships between sepal length, sepal width, petal length, and petal width across three flower species. Each line represents a single flower, colored by its species using d3.scaleOrdinal with d3.schemeCategory10. The code builds SVG paths with d3.line, scales each dimension with d3.scaleLinear, and renders axes with d3.axisLeft. A legend is appended as a separate SVG element, listing the three iris classes. The data loads from a CSV file using d3.csv.

AI-generated description

Using Parallel Coordinates by Jason Davies

MIT Licensed

Similar vizzes