Skip to main content
100%

D3 scatterplot

✓ Published1🌍 Public
SSamuele Greco
Last edited Feb 9, 2022
Created on Feb 9, 2022
Forked from HTML Starter

This scatterplot visualizes the Iris flower dataset, plotting petal length against sepal length for individual specimens. The visualization uses D3 v7’s `scaleLinear` and `extent` functions to map data values to screen coordinates within a full-window SVG. Circles are rendered via `selectAll` and `join` after loading the CSV with `d3.csv`. The example demonstrates a minimal, unadorned approach to data-driven point placement, with no axes or labels, focusing purely on the raw distribution of the flower measurements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes