Act6_Q3
✓ Published0🌍 Public
This example shows a scatter plot of the Iris dataset, mapping sepal length to petal length for individual flower specimens. The visualization encodes each species with a distinct symbol shape and a categorical color, with a legend identifying the mapping. The code uses d3.scaleLinear for positioning axes, d3.scaleOrdinal with symbolsFill for shape encoding, and d3.schemeCategory10 for coloring. Data is loaded asynchronously via fetch and parsed with d3.csvParse, with the visualization rendered by d3.select and .join methods.
AI-generated descriptionMIT Licensed