🌍 Public
Viewing a saved revision (read-only)
ea20a5275f5c4ae5bfec83dc3e087afe
Fork of Scatter Plot with Color
This example visualizes the Iris dataset, mapping petal length and sepal width to the x and y axes of a scatter plot. Each point is colored by species, and hovering reveals a tooltip with the precise petal length. The visualization is built with React and rendered as an SVG, leveraging D3 v5 utilities such as `scaleLinear`, `scaleOrdinal`, and `extent` to compute scales and domains. Custom `Marks`, `AxisBottom`, and `AxisLeft` components generate the circles and axes, with data loaded asynchronously via `useData`.
AI-generated descriptionA scatter plot of The Iris Dataset.