🌍 Public
Scatterplot with Iris Data
This scatterplot displays the Iris dataset, plotting petal length against sepal width for individual flowers. Built with React and rendered as an SVG, it uses D3’s `scaleLinear` with `extent` and `nice` to compute axes, which are drawn by custom `AxisBottom` and `AxisLeft` components. The `Marks` component maps each data point to a circle with a `<title>` tooltip, and data is loaded asynchronously via D3’s `csv` from a gist URL. The visualization includes axis labels and a custom tick format, but does not encode species or other dimensions.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.