🌍 Public
Viewing a saved revision (read-only)
40812815644f4a0eabe52ba1f311da56
69. D3 Axes Static
A scatterplot displays 50 randomly generated points within an SVG canvas, which initially render as static circles. Clicking the text updates the dataset with new random values, and the points animate smoothly to their new positions via D3 transitions. The example uses `d3.scaleLinear` for axes and coordinate mapping, `d3.axisBottom` and `d3.axisLeft` for ticks, and `transition().duration(1000)` for the animation.
AI-generated description