Skip to main content
100%

Fork of D3 Scatter Plot

✓ Published0🌍 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
MIT Licensed

Similar vizzes