🌍 Public
Viewing a saved revision (read-only)
f0dde0ca99b149289f292bbc6fa392ab
Iris Scatter Plot
This interactive scatter plot visualizes the Iris dataset, showing sepal length against sepal width with each flower encoded as a circular mark. Built with React and D3 v5, it renders to SVG, using `scaleLinear` for both axes and the `extent` function to set domains automatically. The code separates axis rendering into `AxisBottom` and `AxisLeft` components, while the `Marks` component draws circles with tooltips. Data loads from a CSV file via `useData`, which fetches and parses the remote dataset.
AI-generated descriptionA program that shows Iris data.