Skip to main content
100%

[Ex.10] Animated Reusable D3 Scatter Plot with labels

✓ Published3🌍 Public
AAndrea Mignone
Last edited Jun 14, 2021
Created on May 25, 2021

This example presents an animated scatter plot of the Iris Dataset, cycling through different x-axis variables every three seconds. Built with D3 v6, it uses selection joins and transitions to smoothly update circle positions and axis scales. The reusable chart function accepts configurable accessors for data values, labels, and margins, with axis rendering via `axisLeft` and `axisBottom`.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes