Skip to main content
100%

Fork of Animated Reusable D3 Scatter Plot

✓ Published0🌍 Public
Aadityapalliyil0@gmail.com
Last edited Oct 2, 2024
Created on Oct 2, 2024

This animated scatter plot displays the Iris Dataset, cycling through four different flower measurements along the x-axis every three seconds. Each point represents an iris sample, with its position transitioning smoothly between views. The visualization uses D3.js modules including `scaleLinear`, `transition`, `axisLeft`, and `axisBottom`, along with a custom `scatterPlot` function. The chart also re-renders its axes with each data dimension change, and the code employs D3's `selection.join()` API to handle entering, updating, and exiting circle elements.

AI-generated description

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

Shows the Iris Dataset.

MIT Licensed

Similar vizzes