Example of Layout in Javascript TreeMap Control

/
/
Layout

This sample illustrates the GDP nominal of top 10 countries in the year 2015. The layout and rendering direction of the TreeMap can be changed by using the Layout Type and Render Direction in the properties panel.

More Details...

Layout Type
Render Direction
Description

In this example, you can change the layout of the TreeMap as desaturation color mapping has been applied to denote the weightage of the items by varying the fill color. The label's text also has been formatted and placed in multiple lines. The tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item in touch-enabled devices. More information on treemap layout can be found in this documentation section.