Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

7c6e079f23034394914569efb8712b8f

Fork of Fork of Iris Dataset Scatter Plot

0 stars0🌍 Public
Mmandalasaikrishna007
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example visualizes the Iris Dataset as a scatter plot, mapping petal length and width to the x- and y-axes, with points colored by species (blue for setosa, red for versicolor, black for virginica). It uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale coordinates, and render axes. Although the circles are drawn using `selectAll` and `join`, the code also sets non-standard `rx` and `ry` attributes from sepal measurements, though these do not affect the circular shape. The plot fills the entire window and is rendered as SVG.

AI-generated description

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