Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a5d48b787f124eccbebaf3e8b05c72c4

Iris Dataset Scatter Plot

0 stars0🌍 Public
AAnanyaSamala
Last edited Jun 26, 2022
Created on Jun 26, 2022

This example visualizes the Iris Dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring each point by species (setosa, versicolor, or virginica) using orange, green, and purple. The SVG rendering is built with D3 v6, using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct scales and axes. Data is loaded asynchronously via `d3.csv`, with numeric fields parsed on input, and the chart includes custom axis labels and a title.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.