Google Charts - TreeMap Chart

Google Charts – TreeMap Chart

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.

Configurations

We have used TreeMap class to point out treemap diagram.

 

 

//TreeMap chart
var chart = new google.visualization.TreeMap(doc.getElementById('container'));