Fork Activity6_Tutorial-3.1-Scatter Plot
✓ Published0🌍 Public
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.
MIT Licensed