🌍 Public
Viewing a saved revision (read-only)
af9ab7a60bd249a78193633dab237174
Fork Activity6_Tutorial-3.1-Scatter Plot
This example displays the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis while color-coding each point by species (setosa, versicolor, or virginica). The visualization uses D3.js v6 to load the data from a CSV file via `d3.csv`, then renders circles in an SVG container. Scales created with `scaleLinear` and `extent` position the marks, while `axisLeft` and `axisBottom` generate the axes. The plot fills the browser window, with axis labels styled in green.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.