Skip to main content
100%

Fork of Animated Reusable D3 Scatter Plot

✓ Published0🌍 Public
Sszhang99
Last edited Jun 16, 2023
Created on Jun 16, 2023

This example shows an animated scatter plot of the Iris dataset, cycling through different combinations of sepal and petal measurements every three seconds. The chart is built with d3.v6, using `scaleLinear`, `axisLeft`, `axisBottom`, and `selection.join` to handle enter, update, and exit transitions. Circles grow from radius zero on entry, smoothly reposition with staggered delays during updates, and the axes animate alongside using `transition`. Data loads as CSV from a gist, and the SVG renders full-screen with a custom font.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes