🌍 Public
Viewing a saved revision (read-only)
7f08e455321f4c9ca9800c5f301a0b3d
Animated Reusable D3 scatter plot template with axis labels
This example presents an animated, reusable D3 scatter plot template that cycles through different iris flower measurements every four seconds, transitioning the x-axis, labels, and circle positions. The visualization loads the classic Iris dataset from a GitHub gist via `d3.csv`, then uses D3 v7 scales, axes, and a custom `scatterPlot` function to render the responsive full-screen SVG. The code employs `transition` with a 3000-millisecond duration to smoothly move data points and slide in new x-axis labels, while the y-axis remains fixed on sepal length.
AI-generated descriptionD3 Scatter Polt template