Skip to main content
100%

Force-Based Cartogram to Bubble Chart

✓ Published0🌍 Public
Aalexhoke
Last edited Apr 5, 2018
Created on Apr 5, 2018

This interactive visualization morphs a force-based cartogram of U.S. county demographics into a bubble chart using the same underlying data. Built with D3 v4 and SVG animation, it leverages the forceSimulation engine to transition between the two representations: initially, each county appears as a geographic-shaped region whose size reflects population, then seamlessly animates into circular bubbles for comparison. The transformation highlights demographic distributions across counties, with the force simulation preserving spatial relationships while shifting visual encoding. The example is implemented as an SVG animation and includes census-derived demographic data from Duke University.

AI-generated description

Taking advantage of the forceSimulation-based nature of the cartogram to switch to a bubble chart using the same data.

Demographics from http://library.duke.edu/data/collections/popest

forked from <a href='http://bl.ocks.org/emeeks/'>emeeks</a>'s block: <a href='http://bl.ocks.org/emeeks/894ff63d02551badfc75536d77dcd49c'>Cartogram to Bubble Chart</a>

mit Licensed

Similar vizzes