🌍 Public
Viewing a saved revision (read-only)
f8fecc7677d44cd2ab4e4b93abb6d2e5
Activity6_task3
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x and y axes, with each point colored by species (setosa, versicolor, or virginica). The code uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data from a GitHub-hosted CSV and render an SVG chart. Additional text labels for the axes are added manually via appended `text` elements, though the title references sepal length, the axis and data actually use petal dimensions.
AI-generated description