Activity 6_tutorial 3.1
✓ Published0🌍 Public
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 descriptionMIT Licensed