Skip to main content
100%

Task8_tutorial3

✓ Published0🌍 Public
Ppranayrajana.97@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

A scatter plot of the Iris dataset, colored by species (setosa, versicolor, virginica), maps petal length on the x-axis and petal width on the y-axis. The code uses D3 v6 with `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, while `circle` elements are positioned via `x` and `y` scales. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and each point’s color is assigned by a `switch` statement. The visualization also references sepal length and width values, though these do not affect the plotted coordinates.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes