1
✓ Published0🌍 Public
This interactive scatter plot visualizes the classic Iris dataset, displaying sepal length on the x-axis and petal length on the y-axis. Each point represents an individual flower, colored by its species (setosa, versicolor, or virginica) according to a categorical color legend. The visualization is built with D3.js, using `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for colors, and modular components for drawing axes and the color legend. The code leverages D3's selection joins for efficient SVG element updates.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also:
MIT Licensed