Skip to main content
100%

Iris Scatter Plot

✓ Published0🌍 Public
Mmaddulanagasanjana@gmail.com
Last edited Oct 20, 2025
Created on Oct 19, 2025
Forked from D3 Starter

This visualization displays the classic Iris dataset as a scatter plot, mapping sepal length on the x-axis against petal length on the y-axis. Each of the 150 flowers appears as a colored point, with a legend distinguishing the three species (setosa, versicolor, and virginica) using a pastel ordinal color scale. Built with D3 v7, the code loads CSV data via `d3.csv`, applies linear scales with `d3.scaleLinear` for axes, and renders SVG circles, axis ticks, labels, and a custom legend.

AI-generated description
MIT Licensed

Similar vizzes