🌍 Public
Viewing a saved revision (read-only)
b4c9ee33971e4c3da39ef44b1f71abce
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.