This post describes how to build a clean circular packing with d3.js. It shows how to build several convenient feature: nodes are draggable, their size depends on a numerical value, their color on a categorical value. Hovering them display more info about them. This example works with d3.js v4
and v6
.csv
file with one line per country, one column per feature. Provides the world population per country. Read more.