🌍 Public
Viewing a saved revision (read-only)
8e9ebdf21d4c4597ae9846ea4d8a4285
Activity6_Task3
This scatter plot displays the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each point colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The visualization uses D3 v6’s `csv` loader to fetch data from a remote URL, then employs `scaleLinear` and `extent` to compute scales and axes, rendered as SVG circles with width and height derived from the window dimensions. Axis labels are added via `svg.append` and rotated text.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.