Activity-6_Task-3.1
✓ Published1🌍 Public
This example displays a scatter plot of the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with points colored by species. The visualization uses D3 v6 APIs including `d3.csv`, `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`d3.axisBottom`. Data is loaded from a remote CSV, and each point is rendered as an SVG circle positioned through the scales, with species-specific fill colors from a switch statement. Axis labels are added via appended SVG text elements.
AI-generated descriptionAn example showing scatter plot with points
MIT Licensed