🌍 Public
Viewing a saved revision (read-only)
f8a67572e28445d894cc6d28f1293c4e
Activity 6_Tutorial 3.1
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three flower species. Each circle is colored by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica—making species clusters visible. The visualization loads CSV data via `d3.csv`, uses `scaleLinear` and `extent` for axis scaling, and renders SVG circles with `d3.selectAll` and `join`. Axis labels are added with `axisLeft` and `axisBottom`, while custom text labels annotate the axes. The chart uses D3 v6 and is displayed in a full-window SVG layout.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.