ACTIVITY 6 TASK 3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width on the axes while using circle color to distinguish the three species. The code loads the CSV data asynchronously and uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` from d3 v6 to position points and render the chart. Each circle’s radius is fixed, while its fill color is determined by the species via a switch statement. The SVG is sized to the window, with axis labels in green indicating the measured dimensions.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed