All examples By author By category About

Kcnarf

Weighted Voronoi Treemap in D3v4

This block is a port, from d3v3 to d3v4, of mkedwards's block: Treemap.

Warning sometimes (1% of time), code fails to compute the layout, and doesn't update the svg. In such a case, you have to (re-)compute diagram.

Updates

On-going issues

Original README

A treemap recursively subdivides area into rectangles; the area of any node in the tree corresponds to its value. This example uses color to encode different packages of the Flare visualization toolkit. Treemap design invented by Ben Shneiderman. Squarified algorithm by Bruls, Huizing and van Wijk. Data courtesy Jeff Heer.