D3 & React in the Real World
This example demonstrates a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis. It shows a decoupled integration pattern between React and D3, where React manages the component lifecycle and D3 handles the SVG rendering. The visualization uses D3 scales, axes, and circle elements within a React wrapper, with data loaded via D3’s CSV parser. This starter project highlights scalable patterns for real-world applications using ES modules and JSX.