🌍 Public
Viewing a saved revision (read-only)
3e05d4c14a4d406c8f31f3b48f408cda
Activity6_Task3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three flower species (setosa, versicolor, and virginica), colored with a categorical palette. The visualization uses D3 v6's `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to compute scales and draw axes, with the data loaded from a remote CSV via `d3.csv`. Points are rendered as SVG circles with a fixed radius, and their fill colors are assigned via a switch statement based on the species value.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.