Activity6_Task3
✓ Published1🌍 Public
This visualization displays a scatter plot of the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each point colored by species (skyblue for setosa, lightgreen for versicolor, and orange for virginica). The code loads CSV data using `d3.csv`, scales the axes with `scaleLinear` and `extent`, and renders circles as SVG elements via `selectAll` and `join`. It includes custom axis labels using `axisLeft` and `axisBottom`, plus a legend built with appended SVG `rect` and `text` elements. The plot uses D3 v6.
AI-generated descriptionMIT Licensed