🌍 Public
Viewing a saved revision (read-only)
c99d8e11a9f24ee3984ceb0e8e1db0b0
Activity_6_task3
This scatter plot visualizes the Iris dataset, mapping petal length and width to the x- and y-axes while coloring each circle by species (A, B, or C). It uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the SVG chart. Data is loaded via `d3.csv` from a GitHub gist, with each row parsed into numeric attributes. The code stores additional raw attribute values for potential ellipse sizing, though the rendered circles use a fixed radius.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.