Skip to main content
Public

Share visualization

Loading preview…

Iris Scatter Plots_HW

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

Iris Scatter Plots_HW

0
Sstephanie0215
Last edited Sep 26, 2022
Created on Sep 26, 2022

This interactive scatter plot visualizes Fisher’s Iris dataset, letting users compare any two measured attributes (sepal/petal length and width) via dropdown menus. Points are colored by species using a ordinal scale, with axes and gridlines rendered through d3.axisBottom and d3.axisLeft. The React-driven interface updates scales, circles, and axis labels dynamically, while the SVG rendering uses d3.scaleLinear with nice extents. The code loads data via d3.csv and applies CSS opacity for overlapping points.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed