Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Using Iris Dataset forming a Scatter Plot

Public visualization

Viewing a saved revision (read-only)

51be35ebf94645c39331c11b05b0f73a

Using Iris Dataset forming a Scatter Plot

0 stars0🌍 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.