Test Graph
This example visualizes the Iris flower dataset as a scatter plot, mapping sepal length on the x-axis and petal length on the y-axis. It uses d3.scaleLinear for axis scaling and d3.axisBottom and d3.axisLeft for rendering the axes. The visualization is built with React 18 and D3 v7, where the React component manages the SVG container while D3 handles the data binding and rendering of circles. The code demonstrates a decoupled integration pattern, with data loading through d3.csv and state management via React hooks.