Activity6_T3
✓ Published2🌍 Public
This example shows the classic Iris dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring each flower species (setosa, versicolor, virginica) with distinct fill colors. Using D3 v6, it loads CSV data from a GitHub URL, parses numeric fields, and renders SVG circles with a fixed radius. Axes are generated with `axisLeft` and `axisBottom`, while `scaleLinear` and `extent` handle the scaling domains. The code also reads sepal dimensions and applies them as attributes, though the visual encoding focuses primarily on the petal measurements.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed