Fork of React & D3 Starter
This scatter plot visualizes the Iris flower dataset, mapping sepal length to the x-axis and petal length to the y-axis. It demonstrates a decoupled React and D3 integration pattern, where React manages the component lifecycle and D3 handles the rendering. The visualization uses d3.scaleLinear for scaling, d3.axisLeft and d3.axisBottom for axes, and SVG circles with a fill opacity of 0.5 to display data points. React hooks, such as useState and useEffect, are used for data loading and component updates, with D3's csv function parsing the data.