Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Parallel coordinate plot for iris dataset with changable order of axes

Public visualization

Viewing a saved revision (read-only)

008959feaa7b42658bc0ac1604866bea

Parallel coordinate plot for iris dataset with changable order of axes

0 stars0🌍 Public
TTsen Hsieh
Last edited Oct 14, 2022
Created on Oct 13, 2022

This example visualizes the Iris dataset using a parallel coordinate plot, where each of the four flower measurements (sepal length, sepal width, petal length, petal width) is represented as a vertical axis. Users can reorder the axes by selecting a different measurement from any of the four dropdown menus, with the polylines updating to reflect the new arrangement. The plot uses d3.scaleLinear and d3.scalePoint to position axes and data points, while d3.line generates the paths connecting values for each of the 150 samples. A color scale distinguishes the three iris classes, and all rendering is done with SVG in D3 v5.

AI-generated description

Parallel coordinate plot of The Iris Dataset.