Activity 6 Task 3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping sepal length and width to the x- and y-axes. Each flower species is represented by a distinct color: setosa in sky blue, versicolor in light green, and virginica in orange. The code loads CSV data via `d3.csv` and uses `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, and `d3.axisLeft` from D3 v6. It renders the plot as an SVG, with circles colored by species through a switch statement.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot with different colors.
MIT Licensed