Skip to main content
100%

Iris Scatter Plot

✓ Published4🌍 Public
Mmagua
Last edited Oct 4, 2020
Created on Oct 2, 2020
Forked from Cars Scatter Plot

This interactive scatter plot displays the classic Iris dataset, allowing users to compare any two of the four flower measurements (sepal length/width, petal length/width) by selecting them from dropdown menus. Each of the 150 data points is rendered as a colored circle, with hue indicating one of three Iris species. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` for axes, while `transition().duration().delay().attr()` animates the circles smoothly to their new positions when the axis selection changes. The legend and axis dropdowns are placed beside the plot.

AI-generated description
MIT Licensed

Similar vizzes