D3: Transitioning points to randomized values, plus rescaled axes!
This interactive visualization displays 50 randomly generated points on a scatterplot. Clicking the text updates the dataset with new random values and smoothly transitions the circles to their new positions. The chart’s x- and y-axes rescale to fit the new data range. Built with D3 v4, the example uses `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and SVG circle elements with a one-second `transition` applied to both points and axes.
AI-generated descriptionBuilt with blockbuilder.org
This is an example copied from Interactive Data Visualization for the web.
I updated it with d3.v4.
forked from <a href='http://bl.ocks.org/EmbraceLife/'>EmbraceLife</a>'s block: <a href='http://bl.ocks.org/EmbraceLife/13264c0e6565ceee0c6980557981e232'>13.click-delay-transition</a>