Skip to main content
100%

Bubble Update Pattern II

✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 4, 2018
Created on May 22, 2017

This example demonstrates a bubble update pattern where circular elements are drawn as SVG path elements instead of standard circle shapes. The visualization uses a custom `circleToPath` function to generate circular paths, with data derived from a randomized alphabet sequence. Using d3.pack for hierarchical layout and d3.transition for smooth animations, circles exit, update, and enter with color and size changes every 1.5 seconds. The implementation leverages D3 v4’s data join pattern, selecting all `path` and `text` elements to handle dynamic state changes in the visualization.

AI-generated description

Like Bubble Update Pattern I but with the circles drawn as SVG path elements instead of circle elements. Uses a custom function called circleToPath to draw paths that look like circles.

See also: Force Update Pattern, Voronoi Update Pattern II and Voronoi Update Pattern.

forked from <a href='http://bl.ocks.org/HarryStevens/'>HarryStevens</a>'s block: <a href='http://bl.ocks.org/HarryStevens/adfce1fc695bc05d6241474b3620be8e'>Bubble Update Pattern II</a>

gpl-3.0 Licensed

Similar vizzes