Tree maps are basically rectangles placed adjacent to each other. The size of each rectangle is directly proportional to the data being used in the visualization. Tree maps have been used to plot the most watched news on the web by newsmap.jp. They have also been applied in financial websites such as smart money to visualize financial market movements. In this recipe, we will implement a tree map using the
We would require to install and load the
googleVis package for the purpose of the visualization.
In order to implement a tree map, we would first install and load the