🌍 Public
Viewing a saved revision (read-only)
e33d3b27b81946a7a17ff15e5b8fee80
Activity6_Task3.1
This example visualizes the Iris dataset as a scatter plot, mapping petal length and width to x and y positions while coloring each point by species (setosa, versicolor, or virginica) using predefined color markers. The visualization uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct scales and axes, with data loaded via `d3.csv` from a GitHub gist. Circles are rendered as SVG elements with their radii fixed and additional sepal dimensions stored as unused attributes, while axis labels are positioned using SVG text elements.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.