Skip to main content
100%

Chart Controls III

✓ Published0🌍 Public
11Cr18Ni9
Last edited Jan 13, 2017
Created on Jan 13, 2017

This chart animates four dimensions of global development data—life expectancy, fertility rate, population, and time—using a bubble chart. Each circle represents a country, positioned by life expectancy and fertility rate, with size encoding population via a power scale. The animation steps through years, transitioning all circles simultaneously. A dropdown menu filters the display by region. The visualization is built with D3 v3, using `d3.scale.pow` for sizing, `d3.nest` to group data by year, and the `d3.timer` function to drive transitions. Data comes from the included `lfp_all.csv` file.

AI-generated description

Built with blockbuilder.org

Forked from D3byEx.

There are more interactive with data. If there are more elements than the data, the extra elements(circles) will move up to top and dispared with zero radius.

The origin example uses linear scale to size circles, while I set it to pow scale. All the fancy is come from the timer function.

mit Licensed

Similar vizzes