Skip to main content
100%

Fork of Scatter Plot with Color

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

Similar vizzes