🌍 Public
Viewing a saved revision (read-only)
7282f9c1d12e46e79d716fdbf984c9c7
Activity 6 Tutorial 3.1
This example visualizes the Iris dataset with a scatter plot comparing petal length against petal width, coloring points by species (setosa, versicolor, virginica) in skyblue, lightgreen, and orange. The code loads CSV data via d3.csv, then uses scaleLinear, extent, axisLeft, and axisBottom to map values and render axes in SVG. Circles are positioned using cx/cy attributes, with additional rx/ry properties derived from sepal measurements. Axis labels are rotated and styled using d3 selections.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.