Firoze_Question_3
✓ Published0🌍 Public
This D3 v7 scatter plot visualizes a subset of the Iris dataset, plotting sepal length against sepal width for three flower species. The SVG-based chart uses a linear scale for both axes, with points colored by species (red, blue, green) to distinguish categories. The visualization includes a legend generated via `createShapeLegend`, which maps each species to its corresponding color and label. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, while the data is loaded from a CSV file using `d3.csv`. The plot is constructed with reusable modules for axes, scatter points, and legend.
AI-generated descriptionMIT Licensed