Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
AArefa Patwary
Last edited Mar 23, 2022
Created on Mar 23, 2022

This example visualizes the Iris dataset as an animated scatter plot, cycling through four measurements on the x-axis while keeping sepal length on the y-axis. The plot updates every two seconds, re-scaling the axis and repositioning the circles. It uses D3 v6’s `csv` for data loading, `scaleLinear` for axes, and a reusable `scatterPlot` module with a fluent interface. SVG rendering drives the animation, with axis and circle elements dynamically joined and updated.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes