Treemap
Treemaps are used to display hierarchical data. The information is displayed as a cluster of rectangles varying in size and color, depending on their data value. The size of each rectangle represents a quantity, while the color can represent a number value or a category.
The Method To Use
The method is s.plt.treemap()
It must contain the following input variables:
And can be personalized with the input variable:
Video demonstration of the treemap chart
Examples
1. Default Configuration
The chart has tooltips, showed when you hover the mouse over the figure. The area of each rectangle is proportional to that number.
2. Customization And Context
Featured Content
Changing the Menu Path
The menu_path
can be modified.
It is possible to use any number of rows.
Last updated