Skip to main content
100%

d3 random circle practice

✓ Published0🌍 Public
Aadammak137
Last edited Jul 8, 2018
Created on Jul 8, 2018

This visualization plots a static set of 11 coordinate pairs as red-labeled circles on an SVG canvas, with each circle’s position scaled by linear x and y axes and its radius by a square-root scale. The code uses d3.scaleLinear, d3.scaleSqrt, d3.axisBottom, and d3.axisLeft to build the chart, then applies a one-second transition that recolors all circles to teal and shrinks their radii to 3 pixels. The data is an inline array, and rendering relies on SVG elements with d3.v4.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/adammak137/'>adammak137</a>'s block: <a href='http://bl.ocks.org/adammak137/b55abfa6bad0ce96b9637070d07bd832'>d3 circle practice</a>

forked from <a href='http://bl.ocks.org/adammak137/'>adammak137</a>'s block: <a href='http://bl.ocks.org/adammak137/3068513ede0d8755f257ce553aaed21a'>d3 random circle practice</a>

mit Licensed

Similar vizzes