Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

homework1-IRIS Parallel Coordinate Plot

Public visualization

homework1-IRIS Parallel Coordinate Plot

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed