Fork of ICE-6 Scatter Plot
✓ Published0🌍 Public
This visualization displays the classic Iris dataset as a scatter plot, showing petal length on the x-axis and petal width on the y-axis. Each point represents a flower specimen, with its color mapped to species, though all three species are rendered in black. The code loads CSV data via `d3.csv`, scales the positions with `d3.scaleLinear`, and renders circles as SVG elements using `selectAll` and `join`. Axes are drawn with `d3.axisLeft` and `d3.axisBottom`, and labels are added as SVG text elements. The plot uses a full-window SVG canvas with specified margins.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed