Skip to main content
100%

Fork of Scatter Plot with Color

✓ Published0🌍 Public
RRoberto
Last edited Sep 14, 2023
Created on Sep 14, 2023

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes