🌍 Public
Viewing a saved revision (read-only)
f99b320f31b04a05b6f0394d5b12895f
Tutorial task 3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three flower species color-coded as setosa, versicolor, and virginica. Using D3.js v6, the visualization maps each data point to a circle with coordinates scaled by d3.scaleLinear and d3.extent domains. The SVG rendering includes custom axis labels from d3.axisLeft and d3.axisBottom, while circles are drawn with d3.selectAll and the join pattern. Data loads asynchronously from a GitHub-hosted CSV file via d3.csv.
AI-generated description