activity6_tutorial3.2
✓ Published0🌍 Public
This example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with points colored by shape according to species. A custom legend shows the shape-to-species mapping. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the point glyphs, while `axisLeft` and `axisBottom` render the axes. Data is loaded asynchronously via `fetch` from a GitHub-hosted CSV file and parsed with `csvParse`.
AI-generated descriptionMIT Licensed