🌍 Public
Viewing a saved revision (read-only)
4009439dae2a49d3a0c11d6c3aafcec8
activity6_task3.1
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with points colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). It uses D3 v6 to load CSV data via `d3.csv`, scales with `d3.scaleLinear`, and renders SVG circles. Axes are drawn with `d3.axisLeft` and `d3.axisBottom`. The code also maps sepal measurements to circle radii but does not apply them visually, as points use a fixed radius of 5 pixels.
AI-generated descriptioniris dataset using scatter plot