🌍 Public
Viewing a saved revision (read-only)
29995fd7be844139bab94b4b6ebb4237
Activity 6 Task 3
This scatter plot visualizes the Iris dataset, mapping sepal length against petal length while distinguishing species through different symbol shapes. The visualization uses D3 v7 with a custom scatterPlot module, employing d3.scaleLinear for the axes, d3.scaleOrdinal with symbolsFill to assign shape variants, and d3.symbol to generate the marks. A custom legend component displays the shape-to-species mapping. Data loads asynchronously from a GitHub-hosted CSV file and is parsed with d3.csvParse, with numeric fields coerced to numbers before rendering.
AI-generated description