🌍 Public
Viewing a saved revision (read-only)
4f90b4d935a84b54a85a1f16c9a3e11c
Activity 7 Scatter Plot with Shape
This scatter plot displays sepal length versus petal length for iris flowers, using distinct shapes to encode the species of each sample. Data is loaded from a remote CSV file and parsed with `d3.csvParse`. The visualization is built with D3 v7, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` to map species to symbols, and `d3.symbol` to generate the shape paths. A legend is rendered manually to identify each species shape.
AI-generated description