Skip to main content
100%

Fork of Fork of Activity6_Task3

✓ Published0🌍 Public
Aaschowdary.shashi@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

This scatter plot visualizes the Iris dataset, showing petal length against petal width, with each point colored by species (setosa, versicolor, or virginica) via a simple switch function. The visualization uses d3.csv to load remote CSV data, then d3.scaleLinear with extent domains to map values to screen coordinates, and d3.axisLeft and d3.axisBottom for labeled axes. Circles are rendered as SVG elements with fixed radius via d3.selectAll().join(), while sepal length and width are stored as unused data fields. The plot fills the browser viewport, with green axis titles rotated vertically for the y-axis.

AI-generated description
MIT Licensed

Similar vizzes