Circular Packing

logo of a chart:CircularPacking

A treemap displays hierarchical data as a set of nested rectangles. Each group is represented by a rectangle, which area is proportional to its value. In Python, the squarify library allows to compute the rectangle positions and plot it.

Matplotlib logoOne level of hierarchy

Circlify can work without a hierarchical structure, i.e. with just a set of numeric varialbles that will be each displayed as a bubble. Note that the package just compute the position and size of each bubble. Once that's done, matplotlib is used to make the chart itself with usual functions.

🚨 Grab the Data To Viz poster!


Do you know all the chart types? Do you know which one you should pick? I made a decision tree that answers those questions. You can download it for free!

    dataviz decision tree poster