Skip to main content
100%

Animated Reusable D3 scatter plot template

✓ Published1🌍 Public
LLouis Astorg
Last edited Aug 8, 2022
Created on Aug 8, 2022

This animated scatter plot template displays the Iris dataset across four feature combinations, cycling through petal width, sepal width, petal length, and sepal length every three seconds. The visualization uses D3 v7 with SVG rendering, featuring smooth transitions via `transition()` and delayed point movement. Reusable chart components are implemented through a custom `scatterPlot` function that handles scales, axes, labels, and legend. The data loads from a CSV file using `d3.csv`, with each axis label sliding and updating dynamically as the selected variables change.

AI-generated description

D3 Scatter Polt template

MIT Licensed

Similar vizzes