Skip to main content
100%

Fork

✓ Published0🌍 Public
Wweird_danger
Last edited Sep 11, 2024
Created on Sep 11, 2024

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 description
MIT Licensed

Similar vizzes