Skip to main content
100%

animation of reusable D3 scatterplot

✓ Published3🌍 Public
SSamuele Greco
Last edited Feb 10, 2022
Created on Feb 10, 2022

This example demonstrates a reusable D3 scatterplot component built with React that animates through different combinations of iris flower measurements. The visualization cycles through all pairs of sepal and petal dimensions every second, updating point positions and axis scales with smooth transitions using d3's `transition` API. The SVG rendering leverages d3 scales, ordinal color mapping for species categories, and custom symbols to distinguish data points. The data comes from a CSV file of iris flowers parsed with d3's `csv` utility.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes