Skip to main content
100%

Activity 7 scatter plot

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This scatter plot visualizes the Iris dataset, comparing petal length against petal width, with each species (setosa, versicolor, virginica) assigned a distinct color. It loads data from a CSV file via `d3.csv`, then uses `d3.scaleLinear` with `d3.extent` to map the dimensions to SVG coordinates. The code draws circles with `d3.select` and `join`, and adds axes using `d3.axisLeft` and `d3.axisBottom`, all rendered as SVG within a full-window canvas.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes