🌍 Public
Viewing a saved revision (read-only)
9ce6690173f8476bb7a7041840804053
Scatter Plot with Color Legend
This interactive scatter plot displays measurements from the Iris Dataset, letting users compare four flower attributes (sepal and petal length/width) by selecting which to plot on the X and Y axes. Each point is colored by iris species, with a color legend identifying the three varieties. The visualization is built with React and uses D3’s `scaleLinear`, `scaleOrdinal`, and `extent` functions to map data to positions and colors, rendering circles as SVG elements. Dropdown menus control the axis selections, while D3’s `csv` loads the data asynchronously.
AI-generated descriptionA scatter plot of The Iris Dataset. Scatter Plot with Menus