π Public
Fork of D3 Scatter Plot
This visualization displays the Iris dataset as a scatter plot, plotting petal length along the x-axis against sepal length on the y-axis. Each of the 150 flowers is rendered as a fixed-radius circle in SVG. The code loads data via `d3.csv`, uses `scaleLinear` and `extent` to compute domains, and positions marks with `axisLeft` and `axisBottom` for the coordinate axes. The plot fills the entire browser window, with tick labels enlarged to 24 pixels for readability.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.