🌍 Public
Viewing a saved revision (read-only)
d437a4b0f0394a56a4d40376547a4451
Fork of t3
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes while coloring each point by species (setosa, versicolor, or virginica). The chart loads CSV data from a GitHub gist and uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes. Circles are drawn with SVG, with fill colors assigned via a switch statement per species. Axis labels display rotated text, and the plot fills the browser window with a responsive width and height.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.