D3: ScatterPlot
✓ Published0🌍 Public
PPragyagarg
Last edited Mar 26, 2018
Created on Mar 26, 2018
This interactive scatter plot displays 50 randomly generated data points on a chart with labeled x and y axes. Clicking the visible "Click!" text triggers a one-second animated transition where the points enlarge and turn red before shrinking back to their original size and color, while the axes rescale to fit new random data. The visualization uses D3 v5's `scaleLinear` for coordinate mapping, `axisBottom` and `axisLeft` for axes, and `transition` with `duration` and `on("start")`/`on("end")` callbacks to animate the point changes.
AI-generated description