Skip to main content
100%

D3 Scatter Plot

✓ Published0🌍 Public
TThaverman
Last edited Sep 15, 2022
Created on Jul 26, 2022
Forked from HTML Starter

This example shows an animated scatter plot of the Iris dataset, cycling through the four measurement columns every two seconds. Each point is rendered as a distinct SVG symbol based on species, with axes updating to reflect the newly selected variable. The visualization uses D3 v7’s `csv` loader, `scaleLinear` and `scaleOrdinal` scales, and `transition` to smoothly animate positional changes. The scatter plot is built as a reusable function via a closure pattern, with the `symbol` generator creating the point markers.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes