🌍 Public
Viewing a saved revision (read-only)
20e79c3a312b4e3ba9b074a259649b3d
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.