🌍 Public
Viewing a saved revision (read-only)
8a2a3e231fa749a38a22a7b1d94e6b56
activity6_task3.2
A scatter plot displays sepal length against petal length for iris flowers, with each point's shape encoding the species category. A legend lists the species names alongside their corresponding symbols. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, and `symbolGenerator` to map data to positions and shapes. Iris data is loaded from a CSV file and parsed with `csvParse`. Axes and labels are rendered with `axisLeft` and `axisBottom`, while the legend is constructed with `symbol` and custom tick elements.
AI-generated description