🌍 Public
Viewing a saved revision (read-only)
81e9996c27fb4835ba4d798adea0e56a
Activity8_Task3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width. Each point is colored by species (skyblue for setosa, lightgreen for versicolor, pink for virginica) using the `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` APIs within the D3 v6 framework. It loads CSV data via `d3.csv`, parses numeric values, and renders circles in an SVG. Axis labels display petal length and sepal length, though the plotted coordinates use petal dimensions.
AI-generated descriptionThe above scatter plot represents the distribution of datapoints in Iris dataset based on petal and sepal lengths