🌍 Public
Viewing a saved revision (read-only)
ae94dd8e9d8341e7a3a44f271f2b3b9c
Flora's Scatter Plot with Color
This visualization displays the classic Iris Dataset as an interactive scatter plot, mapping sepal length on the x-axis and petal length on the y-axis, with species categories encoded by color. The plot uses D3 v7’s `scaleLinear` for axes and `scaleOrdinal` with `schemeCategory10` for color mapping, rendering circles with a fixed radius of 10 pixels. A custom color legend shows species names alongside matching swatches, while the axes are generated using `axisLeft` and `axisBottom`. Data loads from a local CSV file and is parsed with `csvParse`.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also: