Skip to main content
100%

circle-stroke

✓ Published0🌍 Public
11wheel
Last edited Jun 11, 2018
Created on Dec 27, 2017

A small cluster of circles illustrates an inverse relationship between stroke width and radius. Each circle’s red outline is drawn with a stroke width proportional to 1/r, so smaller circles have thicker strokes and larger circles thinner ones, while all strokes contain roughly the same number of red pixels. The composition is generated with D3.js, using SVG `circle` elements and inline `strokeWidth` bindings, with positions placed on a central layout. The code also uses lodash (via `d3_.js`) to handle array transformations, and the visualization is rendered as an animated SVG scene.

AI-generated description

Each circle's stroke is proportional to the inverse of its radius; each circle has the same number of red pixels.

Similar vizzes