block by Kcnarf fa95aa7b076f537c00aed614c29bb568

d3-voronoi-treemap usage

Full Screen

This block illustrates the use of the d3-voronoi-treemap plugin. This block is a remake of the‘s article The Global Economy by GDP.

The d3-voronoi-treemap plugin produces Voronoï treemap. Given a convex polygon (here, a 60-gon representing our Earth) and nested weighted data, it tesselates/partitions the polygon in several inner cells which represent the hierarchical structure of your data, such that the area of a cell represents the weight of the underlying datum.

Acknowledgments to :