Skip to main content
Public

Share visualization

Loading preview…

homework1-IRIS Scatter Plots

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

homework1-IRIS Scatter Plots

1
Yyuting89830@gmail.com
Last edited Sep 19, 2023
Created on Sep 19, 2023

This interactive scatter plot lets users explore the classic Iris dataset by selecting any two numeric attributes for the x- and y-axes via dropdown menus. Each flower species is color-coded using `d3.scaleOrdinal` with `schemeCategory10`, and an animated transition (`transition().duration(2000).delay(...)`) moves circles from the center to their data positions. The visualization is rendered as SVG, with axes drawn using `d3.axisBottom` and `d3.axisLeft`, and includes a legend showing species names.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed