Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Flora's Scatter Plot with Color

Public visualization

Viewing a saved revision (read-only)

ae94dd8e9d8341e7a3a44f271f2b3b9c

Flora's Scatter Plot with Color

0 stars2🌍 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: