Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color

Public visualization

Viewing a saved revision (read-only)

89ba521e777d4eb6b9f1149711d8805a

Fork of Scatter Plot with Color

0 stars0🌍 Public
Kkhushburajan2015@gmail.com
Last edited Oct 16, 2025
Created on Oct 16, 2025

This visualization displays petal length against petal width for the Iris dataset, using position on both axes and color to encode species. A color legend identifies the three species groups. The code builds the scatter plot with D3 v7 modules, drawing SVG circles with `d3.scaleLinear` for axes and `d3.scaleOrdinal` with the Tableau10 color scheme for categorical coloring. Gridlines, axis labels, and a legend are rendered via modular helper functions that handle axes and color legend.

AI-generated description