Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
MMilena Belianovich Holtman
Last edited Oct 13, 2022
Created on Oct 13, 2022

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 description

A scatter plot of The Iris Dataset with color legend.

MIT Licensed

Similar vizzes