🌍 Public
Viewing a saved revision (read-only)
3bcbfbe10a4d4632b8e3e4254fd6de7b
Activity6_tutorial3.2
This scatter plot of Fisher’s iris dataset uses D3 v7 to visualize sepal length against petal length, with species encoded through distinct symbol shapes instead of colors. The code employs `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` for shape mapping, and a custom `shapeLegend` to display the species key. Data loads from a remote CSV via `fetch` and `csvParse` before rendering.
AI-generated descriptionAbove is the scatter plot of same iris dataset but with shapes instead of colors.