Skip to main content
100%

Activity8-Task3

✓ Published0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 11, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This scatterplot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each iris flower represented as a colored circle. Points are colored by species—setosa in sky blue, versicolor in light green, and virginica in orange—using D3 v6’s `selectAll`, `data`, and `join` methods. The SVG rendering applies linear scales via `scaleLinear` and `extent`, while `axisLeft` and `axisBottom` generate labeled axes. Data is loaded asynchronously from a remote CSV using `d3.csv`, with sepal measurements also parsed but not displayed in the plot.

AI-generated description

Scatterplot for IRIS dataset

MIT Licensed

Similar vizzes