Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars3🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed