d3.treemapDice()

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

Divides the rectangular area specified by x0, y0, x1, y1 horizontally according the value of each of the specified node’s children. The children are positioned in order, starting with the left edge (x0) 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 right edge (x1) of the given rectangle.

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

Please login to continue.