π Public
Activity 6 Task 3
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). The visualization uses D3 v6 to load the CSV data, scale linearly with `scaleLinear`, and render SVG circles. It also draws axes using `axisLeft` and `axisBottom`, and includes rotated axis labels for clarity. The code reads the CSV from a GitHub raw URL and maps species names to distinct fill colors.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.