Skip to main content
100%

Intro D3 Workshop

✓ Published0🌍 Public
GGJHazelaar
Last edited Feb 8, 2018
Created on Feb 8, 2018

Fifty red circles radiate from the center of an SVG canvas, each sized by a random count value and positioned by distance from a clicked circle. Clicking a circle increments its count and re-renders the layout, animating all circles to new positions via `transition()` over 800 milliseconds. The example uses D3 v4 scales (`d3.scaleSqrt`, `d3.scaleLinear`) to map counts to circle radius and color, with a color gradient from steelblue to red based on proximity to the clicked circle. A gray ring backdrop and trigonometric positioning complete the interactive workshop demo.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/janwillemtulp/'>janwillemtulp</a>'s block: <a href='http://bl.ocks.org/janwillemtulp/b33c121d2d0e9781bb1b38d88a9bcb44'>Intro D3 Workshop</a>

mit Licensed

Similar vizzes