🌍 Public
Viewing a saved revision (read-only)
9d391577a44049dd85a48a722497c41e
Activity6_task3.2
This scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis while encoding the species of each flower using different d3.symbol shapes (from symbolsFill). The legend, built with a custom shapeLegend function, lists species and their corresponding markers. The visualization uses D3 v7's scaleLinear for axes, scaleOrdinal for shape mapping, and d3.axisLeft/axisBottom for rendering the chart, with data loaded asynchronously from a CSV file via fetch and d3.csvParse.
AI-generated description