Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

8f285952521e40efbd3ad3679b2bc43b

Activity6_Task3

0 stars0🌍 Public
Ssreejabommineni1506@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

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 description