Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

fb43c1c21a7e4be28c8f9fcf2b82018c

Iris Dataset Scatter Plot

0 stars0🌍 Public
AAashish Pandey
Last edited Mar 7, 2022
Created on Mar 1, 2022

This scatter plot visualizes the Iris Dataset, showing the relationship between petal length and petal width for three species of iris flowers. Each species is distinguished by color: yellow for setosa, green for versicolor, and purple for virginica. The D3 v6 code loads CSV data from a GitHub gist, uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to map the measurements to screen coordinates, and renders colored SVG circles with a fixed radius. The chart also includes rotated and bottom axis labels for sepal length and petal length.

AI-generated description

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