Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Parallel Coordinate Plots of Iris Dataset

Public visualization

Parallel Coordinate Plots of Iris Dataset

0 stars2🌍 Public
Cchristina030
Last edited Nov 20, 2022
Created on Oct 20, 2022

This visualization uses parallel coordinate plots to display the Iris dataset, with each of the four flower measurements (sepal and petal length/width) represented on separate vertical axes. The plot colors each of the 150 observations by species—setosa, versicolor, and virginica—using distinct blue, orange, and purple lines. The code employs D3 v5 functions such as `scalePoint`, `scaleLinear`, `axisLeft`, and `line` to render the SVG paths and axes. Interactive buttons on the right allow users to reorder the axis sequence by selecting and moving individual feature labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed