🌍 Public
Viewing a saved revision (read-only)
88642a18f40449f38bc91744179fb730
Scatter Plot
This scatter plot displays the relationship between petal length and sepal width in the Iris dataset. The visualization renders as an SVG, with the data loaded asynchronously via `d3.csv` and parsed using a custom row-mapping function. Axes are constructed with `d3.scaleLinear`, using `.domain()`, `.range()`, and `.nice()` to establish the scale. The React application manages state transitions, displaying a "Loading..." message until the dataset arrives, then drawing each point as a circle element with its horizontal and vertical positions mapped through the corresponding scales.
AI-generated descriptionA programme that laods using D3 and using React to keep track