🌍 Public
Viewing a saved revision (read-only)
2697d86638c34a94bf42d737cf3c5e2b
Scatter Plot with Colors
This scatter plot displays the Iris dataset, comparing selected attributes such as petal length and sepal width, with each point colored by species. Interactive dropdowns allow users to switch the axes, while hovering over the color legend highlights points of that species and fades the others. Built with React and rendered as SVG, it uses D3's `scaleLinear` for axes and `scaleOrdinal` for the categorical color mapping, fetching the data via `d3.csv`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. css named colors
scatter plot test