Fork
✓ Published0🌍 Public
This interactive scatter plot from the gallery visualizes the classic Iris flower dataset, with three species (setosa, versicolor, and virginica) distinguished by red, blue, and green semitransparent circles. Built with D3.js, it uses `d3.csv` to load data, `d3.scaleLinear()` for axis scaling, and `d3.scaleOrdinal()` for color mapping. Two dropdown menus let users choose which numeric attribute (sepal length/width or petal length/width) maps to the X and Y axes, triggering a full re-render of the SVG plot via the `render` function.
AI-generated descriptionMIT Licensed