Fork of Scatter Plot Using Iris Data
✓ Published0🌍 Public
A scatter plot of the Iris dataset maps petal length and width for individual flowers, coloring each point green, purple, or red based on species. The visualization uses D3 v6 methods including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to set scales and axes, with circles rendered as SVG markers. Data loads from a remote CSV via `d3.csv`, and the plot fills the browser window by dynamically sizing the SVG to `window.innerWidth` and `window.innerHeight`. Axis labels clarify the mapped variables, while raw sepal dimensions are included in the data model but not plotted.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed