Skip to main content
100%

Activity_7_task3

✓ Published0🌍 Public
Mmandadi1999
Last edited Jul 5, 2023
Created on Jul 5, 2023

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three flower species. Each circle is color-coded by species (skyblue for setosa, lightgreen for versicolor, orange for virginica), and the axes are labeled "Petal_Length" and "sepal_Length" (the latter mislabeled). The code loads CSV data from a GitHub URL using d3.csv, maps the data to x/y positions with d3.scaleLinear, and renders SVG circles with d3.select and .join. Axes are drawn using d3.axisLeft and d3.axisBottom, with the chart sized to the full browser window.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes