d3.treemapSlice()

d3.treemapSlice(node, x0, y0, x1, y1)

Divides the rectangular area specified by x0, y0, x1, y1 vertically according the value of each of the specified node’s children. The children are positioned in order, starting with the top edge (y0) of the given rectangle. If the sum of the children’s values is less than the specified node’s value (i.e., if the specified node has a non-zero internal value), the remaining empty space will be positioned on the bottom edge (y1) of the given rectangle.

doc_D3_Js
2016-11-24 10:27:34
Comments
Leave a Comment

Please login to continue.