Fork of React & D3 Starter
This example demonstrates a scatterplot of the Iris dataset, plotting sepal length against petal length as semi-transparent circles rendered in SVG. It uses React to manage the component lifecycle, with a `useData` hook loading CSV data via `d3.csv` and a `VizWrapper` component using `useEffect` and `select` to invoke the D3 `viz` function. D3 scales (`scaleLinear`, `extent`) and axes (`axisLeft`, `axisBottom`) are employed, showcasing a decoupled React and D3 integration pattern for scalable projects.