Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Scatter Plot

Public visualization

Fork of D3 Scatter Plot

0 stars0🌍 Public
Eedw.ext@gmail.com
Last edited Oct 4, 2025
Created on Oct 4, 2025
Forked from D3 Scatter Plot

This example presents a scatter plot of the classic Iris dataset, mapping sepal length against petal length for individual flowers. The visualization is a direct fork of a D3.js v3 example, adapted to use the modern D3 v6 API, and rendered as an SVG that fills the browser window. The code constructs a linear scale for both axes using `scaleLinear` and `extent`, draws the data points as circles with a fixed radius, and adds labeled axes via `axisLeft` and `axisBottom`. It also employs the `join` operator for efficient, declarative updating of the circle marks. The plot is fully responsive, sizing itself to the window's dimensions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed