question3activity6
✓ Published0🌍 Public
This example visualizes the classic Iris dataset as a scatter plot, plotting petal length along the x-axis and petal width along the y-axis. It colors each point by species (setosa, versicolor, and virginica) using skyblue, lightgreen, and orange. The visualization loads CSV data from a GitHub gist, parses numeric columns, and uses d3.scaleLinear with extents to map values to screen coordinates. It renders SVG circles with fixed radius and draws axes using d3.axisLeft and d3.axisBottom, along with rotated and positioned text labels for the axes.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed