Skip to main content
100%

Animated ProD3 Reusable D3 Scatter Plot

✓ Published0🌍 Public
JJimMaltby
Last edited Apr 13, 2022
Created on Apr 13, 2022

This example presents an animated scatter plot of the classic Iris dataset, using a reusable D3 chart module built with d3.v6. It visualizes sepal length against petal width, with circles that grow into place on load. The code demonstrates the reusable chart pattern and the selection.join method for data binding, drawing axes with axisBottom and axisLeft. SVG rendering handles the vector output, while transitions animate the circles’ radius growth from zero to their final size.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes