🌍 Public
Viewing a saved revision (read-only)
2604428849c04018889fe85faac83096
Activity6_Task3
This example uses D3 v7 to render a scatter plot of the Iris dataset, displaying sepal length against petal length. Each point’s shape encodes the species of the flower, with a legend mapping shapes to species labels. The visualization is implemented using D3’s selection join API, `scaleLinear` for the x- and y-axes, and `scaleOrdinal` for the shape scale. Data is loaded asynchronously from a CSV file using `csvParse` and a `fetch` request.
AI-generated description