🌍 Public
Viewing a saved revision (read-only)
94b8cbf11fef466ab76a096a047c0444
Activity6_Task3
This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while coloring each point by species (setosa, versicolor, virginica). The chart uses D3 v6 primitives including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, compute scales, and render SVG axes and circles. The code draws circles whose horizontal and vertical positions encode petal dimensions, with size fixed at a radius of 5 pixels and fill colors assigned via a species-based switch statement.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.