Scatter Plot with Color Legend
✓ Published1🌍 Public
A scatter plot of the Iris Dataset displays petal length against sepal width, with points colored by species and a legend indicating the three categories. The visualization uses React to render SVG elements, with D3 v5 scales (scaleLinear, scaleOrdinal) handling positions and colors, and D3's csv loader fetching the data. Custom React components define the axes, marks, and color legend, while D3’s format function applies tick label formatting.
AI-generated descriptionA scatter plot of The Iris Dataset with color legend.
MIT Licensed