Skip to main content
Explore
Solutions
Bespoke Studio
Pricing
Quick Start
Demo
Log in
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Home
•
Fork Viz
Fork Viz
Create your own copy of this visualization.
Forking from
Animated Reusable D3 Scatter Plot
Title
*
Description
This example demonstrates a reusable scatter plot that animates between different dimensions of the Iris dataset, cycling through petal width, sepal width, petal length, and sepal length every 3 seconds. The visualization uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, while `transition` and selection joins animate circle positions and axes smoothly. The code loads CSV data via `d3.csv` and implements a configurable chart function with setter methods for width, height, data, and margin.
Visibility
Public
Private (only you), Pro
Unlisted (anyone with link)
Private work requires Pro.
Upgrade
Cancel
Fork Viz