Skip to main content
100%

Scatter Plots (Iris)

✓ Published2🌍 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
MIT Licensed

Similar vizzes