Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a488b217429e4d0094bd662d49649837

Fork of Iris Dataset Scatter Plot

0 stars1🌍 Public
DDivyaVellanki
Last edited Mar 7, 2022
Created on Mar 7, 2022

This example visualizes the Iris Dataset, plotting petal length against petal width while color-coding each point by species—setosa in blue, versicolor in red, and virginica in black. The SVG scatter plot is rendered using D3 v6, with axes created via `axisLeft` and `axisBottom`. Data is loaded asynchronously from a GitHub Gist using `d3.csv`, then transformed with `scaleLinear` and `extent` to map values to screen coordinates. Though the code sets `rx` and `ry` attributes, circles remain round with a fixed radius of five pixels.

AI-generated description

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