Skip to main content
100%

Iris Scatter Plot

✓ Published1🌍 Public
Kkatebacon32
Last edited Apr 20, 2021
Created on Apr 20, 2021
Forked from Stylized Bar Chart

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 description

A program that shows Iris data.

Data: UCI Machine Learning Repository: Iris Data Set.

MIT Licensed

Similar vizzes