Activity 7 scatter plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, comparing petal length against petal width, with each species (setosa, versicolor, virginica) assigned a distinct color. It loads data from a CSV file via `d3.csv`, then uses `d3.scaleLinear` with `d3.extent` to map the dimensions to SVG coordinates. The code draws circles with `d3.select` and `join`, and adds axes using `d3.axisLeft` and `d3.axisBottom`, all rendered as SVG within a full-window canvas.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed