Skip to main content
100%

Iris Scatter Plot

✓ Published2🌍 Public
Hharker2011
Last edited Oct 22, 2020
Created on Oct 5, 2020
Forked from Cars Scatter Plot

This visualization displays the classic Iris dataset as a scatter plot, allowing the selection of any two of the four measured attributes (sepal length, sepal width, petal length, petal width) for the x- and y-axes via dropdown menus. Each of the 150 iris flowers is represented as a colored circle, with red, blue, and green mapping to the three species. The D3.js code uses `scaleLinear` for axes, `axisLeft` and `axisBottom` for ticks, and constructs the SVG rendering by binding circles to the data, updating their positions based on the chosen columns. A legend to the right lists the species and their corresponding colors.

AI-generated description
MIT Licensed

Similar vizzes