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:
order: int
data: Union[str, Dict, List[Dict]]And can be personalized with the input variable:
radial: bool
vertical: bool
title: Optional[str]
padding: Optional[List[int]]
rows_size: Optional[int]
cols_size: Optional[int]
option_modifications: Optional[Dict]Video demonstration of the treemap chart
Examples
1. Default Configuration

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
Was this helpful?