🌍 Public
Viewing a saved revision (read-only)
45eb5c80fc69456d9018870433ce390f
Activity 6_tutorial 3.1
This scatter plot visualizes the Iris dataset, plotting petal length against petal width and coloring each point by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The code loads CSV data from a GitHub gist, scales the x and y axes with `d3.scaleLinear`, and renders circles in an SVG using `d3.select` and `data.join`. Axis labels and ticks are appended via `d3.axisLeft` and `d3.axisBottom`, with margins and a fixed radius of 5 pixels for each point.
AI-generated description