Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

0a5d4aeca5d9432fa5e1af4d7d8d3f4b

Activity 7 Scatter Plot

0 stars0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 26, 2023
Created on Jun 26, 2023
Forked from D3 Starter

This scatter plot visualizes the Iris dataset, showing petal length versus petal width with points colored by species (setosa, versicolor, virginica) in skyblue, lightgreen, and orange. It also encodes sepal length and width as the rx and ry properties of each circle, though these do not affect the visible shape since the radius remains fixed. Built with D3 v6, the code loads CSV data via `d3.csv`, scales the axes with `scaleLinear`, draws circles using SVG, and adds labeled axes with `axisLeft` and `axisBottom`.

AI-generated description

A demonstration of how to start using D3 version 6.