🌍 Public
Scatter Plot with Color Legend
This interactive scatter plot visualizes the Iris flower dataset, enabling users to explore relationships between sepal and petal measurements across three species. The visualization uses d3.scaleLinear for x and y positioning, d3.scaleOrdinal for color encoding by species, and renders marks as SVG circles. React state management updates dropdown selections for axes, while d3.csv loads the external dataset. A color legend using d3.scaleOrdinal domain values identifies species, with axes built through custom React components.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.