🌍 Public
Viewing a saved revision (read-only)
b39dab2b78fc49d2aba932f05e369d47
Activity6_Task3
This scatter plot visualizes the Iris dataset, mapping petal length to the x-axis and petal width to the y-axis, with each point colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The code uses D3 v6 methods including `csv` for data loading, `scaleLinear` for scaling, and `axisLeft`/`axisBottom` for axes, rendering circles as SVG marks. The plot also stores sepal measurements as additional attributes, though these are not directly plotted. Data comes from a GitHub-hosted CSV file, and the visualization fills the entire browser window.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.