🌍 Public
Viewing a saved revision (read-only)
79bd580566c7430799bca065ca2e220e
Fork of Scatter Plot with Color
This fork of a scatter plot visualizes the Iris Dataset, showing sepal length against petal length. Each point is colored by species—setosa, versicolor, or virginica—with a custom color legend on the right. Using D3 7.8.5, the code employs `scaleLinear` for axes, `scaleOrdinal` with a custom color array for categorization, and `selection.join` to manage SVG elements. The axes and color legend are separate modules utilizing `axisLeft`, `axisBottom`, and `colorLegend` functions.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also: