TreeMap is a visible illustration of an information tree, the place every node could have zero or extra kids, and one guardian (aside from the basis). Every node is displayed as a rectangle, will be sized and coloured based on values that we assign. Sizes and colours are valued relative to all different nodes within the graph. Following is an instance of a treemap chart. So, let’s examine the whole instance.
We have used TreeMap class to point out treemap diagram.
//TreeMap chart var chart = new google.visualization.TreeMap(doc.getElementById('container'));