Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of activity6_task3

Public visualization

Viewing a saved revision (read-only)

0c8eb2077f1e45b6a6cb1a8a8fb28a07

Fork of activity6_task3

0 stars0🌍 Public
NNIIPUNNREDDY00@GMAIL.COM
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from activity6_task3

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (setosa, versicolor, or virginica). The code loads CSV data from a GitHub gist and parses it with D3’s `csv` function. It uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to position circles in an SVG, while also including unused sepal measurements as attributes. The visualization highlights species clusters through distinct fill colors applied via a switch statement.

AI-generated description

iris dataset using scatter plot