🌍 Public
Viewing a saved revision (read-only)
ad7963d184d344ebb907cb6da2187c6d
Activity6_Task3.2
This scatter plot displays the relationship between sepal length and petal length for three iris species, using distinct symbols to differentiate each species. The visualization loads the Iris dataset via a remote CSV, parses it with `d3.csvParse`, and renders it as SVG paths generated by `d3.symbol` and `symbolsFill`. Axes are drawn with `d3.axisLeft` and `d3.axisBottom`, while a custom legend maps species names to shapes using `d3.scaleOrdinal`. The chart updates reactively through a `setState` pattern, fetching and parsing the data asynchronously on initial load.
AI-generated description