Activity 6 Task 3.2
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis while encoding species through distinct symbol shapes. The visualization uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbol` APIs to render marks and a custom shape legend. Data is loaded asynchronously from a GitHub-hosted CSV file using `d3.csvParse`, with axis labels generated via reusable `axisLeft` and `axisBottom` functions. Each point is drawn as a `path` element, and the legend displays the three species categories.
AI-generated descriptionMIT Licensed