Activity6_Task3
✓ Published0🌍 Public
This scatter plot shows the Iris dataset, mapping sepal length on the x-axis against petal length on the y-axis, with each of the 150 flowers colored by species (setosa, versicolor, virginica) using a d3.scaleOrdinal. The visualization uses d3.csv to load remote CSV data, then applies d3.scaleLinear for both axes and renders circles via SVG, with d3.axisBottom and d3.axisLeft generating the labeled axes. A manual legend is appended to the right side, and an alert appears if the data fails to load.
AI-generated descriptionMIT Licensed