🌍 Public
Viewing a saved revision (read-only)
0d83d8fd06554ab3ab2a17400b689bc6
Activity6_Task3
This example uses a scatter plot to visualize the Iris dataset, displaying petal length and petal width on the axes while coloring each point by species (setosa, versicolor, virginica). The D3 v6 code loads CSV data via the `csv` function, maps sepal and petal measurements using `scaleLinear` and `extent`, and renders the plot with SVG circles. It creates axes using `axisLeft` and `axisBottom` and adds data-driven colors, providing a clear comparison of species clusters in the flower measurements.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.