Activity 7 Scatter Plot
✓ Published0🌍 Public
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.
MIT Licensed