Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HW1_311553050

Public visualization

Viewing a saved revision (read-only)

2d9031a32c4b461493aebfdd40728bf6

HW1_311553050

0 stars0🌍 Public
YYunLing
Last edited Sep 20, 2023
Created on Sep 19, 2023
Forked from HW1_311553050_Run

This interactive scatter plot visualizes the Iris dataset, displaying the relationship between two user-selected flower measurements (sepal length, sepal width, petal length, petal width) on the x- and y-axes. Points are color-coded by iris class using `d3.scaleOrdinal` with `d3.schemeCategory10`, and a color legend is rendered as an SVG group. Two dropdown menus allow the viewer to change the axes. The plot uses `d3.axisBottom` and `d3.axisLeft` with grid lines, and updates dynamically via D3's data join pattern.

AI-generated description