Fork of Fork of Iris Dataset Scatter Plot
This scatter plot visualizes the classic Iris dataset, showing the relationship between petal length on the x-axis and petal width on the y-axis. Points are colored by species (setosa, versicolor, virginica) using blue, red, and black, with circles that also encode sepal dimensions through their rx and ry attributes. The example demonstrates a decoupled React and D3 integration, where the `useData` hook loads and parses CSV data, and the `viz` function uses d3.scaleLinear, d3.extent, and d3.csv to render SVG circles and axes. The rendering approach combines React state management with D3’s selection and join methods inside a window-sized SVG.