Circle Packing Transition
✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 1, 2018
Created on Dec 8, 2016
A circle packing layout transitions between two data dimensions, resizing leaf circles from water content to protein content for a dataset of cheeses. The example uses d3.layout.pack with a custom value function, binding CSV data from nutrients.csv to SVG circles. Calling pack.value to switch the metric, then rebinding data and applying a three-second transition with .attrTween-like position and radius interpolation animates the re-layout.
AI-generated descriptionA simple pack layout transition
forked from <a href='http://bl.ocks.org/wcjohnson11/'>wcjohnson11</a>'s block: <a href='http://bl.ocks.org/wcjohnson11/87a72ccb168a3db06b16'>Pack Layout Transition Challenge</a>
mit Licensed