🌍 Public
Activity 8_Task 3.1 Tutorial
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The visualization uses the d3.csv loader to fetch remote data, and d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to create the plot. Data points are rendered as SVG circles using a `.join('circle')` operation, with positions mapped from the petal dimensions and colors assigned via a switch statement on species.
AI-generated descriptionScatter plot of the IRIS dataset
MIT Licensed
Comments
Sign in to join the discussion.