Skip to main content
Public

Share visualization

Loading preview…

Fork of Iris parallel coordinate plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Iris parallel coordinate plot

0
AAmanda-Tai
Last edited Oct 19, 2022
Created on Oct 19, 2022

This visualization is an interactive parallel coordinate plot of the classic Iris dataset, showing four floral measurements (sepal and petal length/width) as linked axes. Lines represent individual flowers, colored by species (setosa, versicolor, virginica), with a hover effect that highlights one species while dimming others. Built with D3.js v4, the example uses `d3.scalePoint` for axis positioning, `d3.line` to generate the polylines, and `d3.drag` for interactive axis reordering. Users can click and drag axis labels to swap their positions, with the plot updating in real time. The SVG renderer handles the paths, axes, and text labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed