🌍 Public
Viewing a saved revision (read-only)
ca8ebf3b8a4e46df824d8862f694ee4f
Scatterplot w/ React
A scatter plot displays the Iris Dataset, mapping sepal length on the x-axis and sepal width on the y-axis, with each flower as a circle. React components render SVG axes and marks, while d3.scaleLinear and d3.extent compute the scales and domains from CSV data loaded via d3.csv. The code defines reusable AxisBottom, AxisLeft, and Marks components, using tooltips via SVG <title> elements.
AI-generated descriptionA scatter plot of The Iris Dataset.