- SAP BusinessObjects Dashboards 4.1 Cookbook
- David Lai Xavier Hacking
- 259字
- 2021-07-23 19:44:06
Using a tree map
The tree map, also known as a heat map, visualizes values by dividing an area into a set of rectangles. The following screenshot shows an example of a tree map:

As you can see, two variables are used in this chart: one variable expressed by the relative size of each rectangle and another one illustrated by the color intensity. Instead of using the tree map, you can also choose the scatter plot chart to display two variables in one chart.
Getting ready
For this recipe, we can reuse the file we created in the Using a scatter plot chart recipe.
How to do it...
- Drag a Tree Map component to the canvas.
- Enter a name for the chart.
- Bind the cell range A4 to C9 to the By Range field.
- Select Data in Columns.
- Select By Series and bind the Name field to cell A1:
- Go to the Appearance tab and select the Series sub-tab.
- Select a very dark color as High Color and a very light color as Low Color:
- Preview the dashboard to check the result:
How it works...
The tree map arranges the rectangles from big to small. The Cat 5 data (most expensive houses) is presented on the far left-hand side, while Cat 1 (cheapest houses) is illustrated by the block on the lower right-hand side. This rectangle also has the lightest color, indicating the lowest Weeks until sale value. In the recipe, we changed the colors to a more extreme range so that the differences between the rectangles are clearer.
- 零起步玩轉(zhuǎn)掌控板與Mind+
- CMDB分步構(gòu)建指南
- Android項目開發(fā)入門教程
- JavaFX Essentials
- Python爬蟲開發(fā)與項目實戰(zhàn)
- Python計算機視覺編程
- 你必須知道的204個Visual C++開發(fā)問題
- Modular Programming in Java 9
- 快速念咒:MySQL入門指南與進階實戰(zhàn)
- Responsive Web Design by Example
- 可解釋機器學(xué)習(xí):模型、方法與實踐
- Active Directory with PowerShell
- Visual Basic程序設(shè)計上機實驗教程
- Java Fundamentals
- OpenCV with Python Blueprints