Activity 6_Task 3
✓ Published1🌍 Public
This scatterplot displays the Iris dataset’s petal length against petal width for all samples, with each point’s fill color indicating its species (setosa, versicolor, or virginica). The visualization also captures sepal dimensions as supplemental attributes on the circles, though they do not affect the positions. Using D3 v6, the code loads CSV data via `d3.csv`, applies `d3.scaleLinear` for both axes, renders SVG circles through a data join, and adds axes with `d3.axisLeft` and `d3.axisBottom`. Axis labels are drawn as rotated text, and the chart resizes to the window dimensions.
AI-generated descriptionHere we are generating scatterplot using Iris dataset.
MIT Licensed