Skip to main content
100%

Using Iris Dataset forming a Scatter Plot

✓ Published0🌍 Public
Vvidhyanamini
Last edited Mar 4, 2022
Created on Mar 4, 2022

This visualization displays the classic Iris dataset as a scatter plot, mapping petal length and petal width onto x and y coordinates. Each data point is a circle colored by species: green for setosa, purple for versicolor, and pink for virginica, while also encoding sepal length and width as the circle’s rx and ry attributes. The example uses D3 v6 APIs including `select`, `csv`, `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to load data, compute scales, and render SVG axes and marks on a full-window canvas.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes