🌍 Public
Viewing a saved revision (read-only)
bd4d585a029c46b9950fdd11d58c87cc
Activity 6 Task 3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (setosa, versicolor, or virginica). The plot uses D3 v6, loading CSV data via `d3.csv` and creating a linear scale with `d3.scaleLinear` for both axes. The SVG visualization includes circles with fixed radius, axes generated by `d3.axisLeft` and `d3.axisBottom`, and misuses `rx` and `ry` attributes for circles. The plot is rendered full-window with margins, and axis labels are added as SVG text elements.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.