Skip to main content
100%

DATA VISUALIZATION HW1 v5

✓ Published0🌍 Public
Nnathanowen06
Last edited Sep 24, 2023
Created on Sep 24, 2023

This interactive scatter plot explores the classic Iris dataset, allowing users to compare any two measurements (sepal length, sepal width, petal length, petal width) via React dropdowns. Each of the 150 flowers is rendered as an SVG circle, colored by species using a d3.scaleOrdinal scale. Hovering over a color legend entry dims non-matching points (set to 20% opacity) while highlighting that species’ members. Axes are built with d3.scaleLinear and custom React components, with data loaded asynchronously via d3.csv. Tooltips show the x-value on hover.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes