Scatter Plot
✓ Published2🌍 Public
This scatter plot visualizes the Iris dataset, comparing sepal length against sepal width for individual flowers. The visualization uses React components to render an SVG, with D3’s `scaleLinear` and `extent` functions mapping data values to pixel coordinates, and axes generated via `xScale.ticks()` with custom tick formatting. Data is loaded asynchronously from a CSV URL using the `csv` function and a custom `useFetch` hook, with circles representing each observation and native SVG `<title>` elements providing hover tooltips.
AI-generated descriptionA scatter plot of the Iris dataset
MIT Licensed