3.2 Scatter Plot with Shape bhavani mandula
✓ Published0🌍 Public
This scatter plot shows the relationship between sepal length and petal length for Iris flowers, with each species represented by a distinct shape from the `symbolsFill` collection. Shapes include circles, crosses, and diamonds, rendered using `d3.symbol` and `symbolGenerator`. A custom legend maps species names to their corresponding shapes. The chart uses `d3.scaleLinear` for both axes and loads the Iris dataset from a remote CSV file via `d3.csvParse`, applying numeric coercion before plotting.
AI-generated descriptionMIT Licensed