Activity-6_task-3.2
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis, petal length to the y-axis, and encoding species through point shape (circles, crosses, and diamonds) rather than color. The D3 v7 code constructs the plot using `scaleLinear` for axes and `scaleOrdinal` with `symbolCircle`, `symbolCross`, and `symbolDiamond` for the shape mapping. A custom legend uses the same shape scale to identify species, and the SVG output is rendered with labeled axes and margins accommodating the legend.
AI-generated descriptionMIT Licensed