Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plots (Iris)

Public visualization

Scatter Plots (Iris)

0 stars2🌍 Public
KKrishna.
Last edited Oct 30, 2025
Created on Oct 30, 2025

This example visualizes the classic Iris dataset, plotting sepal length against sepal width. Each dot is color-coded by species using D3's `scaleOrdinal`, with hover tooltips revealing exact measurements. The SVG chart is built with D3 v7, using `csv` and `autoType` to load and parse the remote data, `scaleLinear` for axes, and `axisBottom`/`axisLeft` for tick marks. The plot updates responsively to its container width, and the `title` element provides interactive detail.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed