Iris Scatterplot
✓ Published1🌍 Public
This visualization displays the classic Iris dataset as a scatterplot, plotting sepal width against petal length for each flower specimen using an SVG renderer. Built with React and D3 v5, it uses `d3.scaleLinear` functions with `.nice()` to handle axis scaling, while custom `AxisBottom` and `AxisLeft` components generate ticks and gridlines. The `Marks` component renders circles with native SVG tooltips via `<title>`, and data is loaded asynchronously through the `useData` hook using D3's `csv` utility. The visualization also includes formatted axis labels using `d3.format` with abbreviated values.
AI-generated descriptionA program that loads in some data using D3 utilities and uses React state.
MIT Licensed