🌍 Public
Viewing a saved revision (read-only)
eb1fbb3a69494de19c208164ce3a2d64
Activity6_tutorial3.1
This visualization displays the classic Iris dataset as an interactive-looking scatter plot, mapping petal length on the x-axis and petal width on the y-axis. Circles are colored by species, with setosa in skyblue, versicolor in lightgreen, and virginica in orange, using a fixed radius of 5 pixels. The code loads data from a GitHub gist via `d3.csv` and parses numeric fields with a custom row function. It constructs scales with `d3.scaleLinear` and `d3.extent`, draws axes with `d3.axisLeft` and `d3.axisBottom`, and renders SVG circles using `d3.selectAll` and `.join`. The page uses full-window dimensions with custom margins and green axis labels.
AI-generated description