🌍 Public
Viewing a saved revision (read-only)
93df4ba2cbdb4a918dc964f22d03b837
A scatter plot in React and D3
This example shows a scatter plot of the Iris dataset, mapping sepal length on the x-axis and sepal width on the y-axis, with each flower as a pink circle. Built with React for component structure and D3 v5 for scales and CSV loading, it renders as SVG. The `scaleLinear` and `extent` APIs create the axes, while AxleBottom and AxleLeft components draw ticks and gridlines.
AI-generated descriptionA scatter plot from the iris dataset