🌍 Public
Viewing a saved revision (read-only)
ccf6f7a958454888954b1821b830ee51
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