Fork of Scatter Plot with Color
✓ Published0🌍 Public
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 descriptionMIT Licensed