🌍 Public
Viewing a saved revision (read-only)
76f4273a4b0b4d5bbb06b77dc477f530
Activity 7 Scatter Plot
This scatter plot visualizes the Iris dataset, mapping petal length and width for each sample while coloring points by species (setosa, versicolor, virginica) with distinct hues. The visualization loads CSV data via `d3.csv`, scales axes using `scaleLinear` and `extent`, and renders circles as SVG elements with `selectAll`/`join`. Axis labels and ticks are generated with `axisLeft` and `axisBottom`. The code also attaches computed sepal dimensions to each point via `rx` and `ry` attributes, though circles render with a fixed `radius`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.