Skip to main content
100%

Parallel Coordinate Plot

✓ Published0🌍 Public
MMeAzuree
Last edited Sep 26, 2023
Created on Sep 26, 2023

This parallel coordinate plot displays the Iris dataset, with each of the four measured attributes (sepal length, sepal width, petal length, and petal width) mapped to a vertical axis. The code uses React state to manage the attributes assigned to each axis, with interactive dropdown menus allowing users to change the dimensions displayed. D3 v7 utilities like `scaleLinear` and `scaleOrdinal` handle the scaling and species-based color mapping, while SVG `<path>` elements render the polylines connecting data points across axes. Hovering over the color legend filters the displayed lines to the selected iris species.

AI-generated description

A program that loads in some data using D3 utilities, and uses REACT state to keep track of the data.

MIT Licensed

Similar vizzes