Skip to main content
100%

Flora's Scatter Plot with Color

✓ Published2🌍 Public
Ffloraho401
Last edited Sep 19, 2023
Created on Sep 18, 2023

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 description

A scatter plot of the Iris Dataset with a color legend.

See also:

MIT Licensed

Similar vizzes