Math.random()
✓ Published0🌍 Public
ZZhengyan Yu
Last edited Jul 29, 2017
Created on Jul 25, 2017
D3.js v4 visualizes the distribution of `Math.random()` by sequentially placing 500 red circles on an SVG canvas, one every 5 milliseconds via `setInterval`. Each circle’s x-coordinate equals the random result and its y-coordinate uses another random value, then a 300-millisecond transition fades its color to black and shrinks its radius, revealing the uniform clustering pattern across the plot.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/c582edefdc782701f00bc11c6fe0d3ae'>fresh block</a>
mit Licensed