Activity 6_Tutorial 3.1_NRS
✓ Published1🌍 Public
This example visualizes the Iris dataset as a scatterplot of petal length versus petal width, with each point colored by species (setosa, versicolor, or virginica). The code uses d3.csv to load the data, d3.scaleLinear for the x and y axes, and d3.axisLeft/axisBottom to render ticks. Circles are drawn with SVG, and each point also stores sepal length and width values as unused rx and ry attributes. The plot fills the browser window, with axis labels in green and a 20px tick font.
AI-generated descriptionMIT Licensed