Skip to main content
Public

Share visualization

Loading preview…

HW2_basis2

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

HW2_basis2

1
SSandyWu7179290504
Last edited Oct 20, 2022
Created on Oct 20, 2022

This visualization displays the Iris dataset as a parallel coordinate plot, with four axes representing sepal length, sepal width, petal length, and petal width. Each flower is drawn as a polyline, colored by species (setosa, versicolor, virginica) using a custom color mapping, with a legend indicating the classes. The code uses D3 v5’s `scalePoint` and `scaleLinear` for positioning, `line()` for generating paths, and `axisLeft` for rendering axes. The data is loaded via `d3.csv` from a GitHub-hosted CSV file, and the plot is rendered as SVG with semi-transparent strokes.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed