当前位置:网站首页>Echart rectangular tree diagram: simple implementation of rectangular tree diagram
Echart rectangular tree diagram: simple implementation of rectangular tree diagram
2022-06-13 06:07:00 【HaanLen】
Rectangular tree definition : Rectangular tree ( Treemap) Also called moment form tree structure , It is nested by several groups of rectangles with different areas . In one picture , The sum of the areas of all rectangles represents the overall data . The area of each small rectangle represents the proportion of each sub item , The larger the area of the rectangle , Indicates that the greater the proportion of sub data in the whole .
Rectangular tree graph function :
The rectangular tree graph visualizes the hierarchical data into a set of nested rectangles , It intuitively represents the value in area , Show categories by color . The sum of the areas of all rectangles represents the overall size , The area of each small rectangle represents the proportion of each sub item , The larger the area of the rectangle , Indicates that the greater the proportion of sub data in the whole , Good at visualizing weighted data relationships .
echart Website example :
option = {
series: [
{
type: 'treemap',
data: [
{
name: 'nodeA',
value: 10,
children: [
{
name: 'nodeAa',
value: 4
},
{
name: 'nodeAb',
value: 6
}
]
},
{
name: 'nodeB',
value: 20,
children: [
{
name: 'nodeBa',
value: 20,
children: [
{
name: 'nodeBa1',
value: 20
}
]
}
]
}
]
}
]
};
边栏推荐
- AUTOSAR actual combat tutorial pdf version
- Data conversion analysis tool
- Concurrent programming -- source code analysis of thread pool
- 万能播放器 PotPlayer 的下载与安装,直播流 m3u8 导入
- HBuilderX:HBuilderX安装以及其常用插件安装
- MySQL stored procedure
- ffmpeg 下载后缀为.m3u8的视频文件
- arrayList && linkedList
- Self summarizing
- How to view APK version number from apk
猜你喜欢

Custom view - extensible collapsexpendview

Echart柱状图:堆叠柱状图显示value

Echart折线图:当多条折线存在相同name,图例仍全部显示

Annotation only integration SSM framework

You still can't remotely debug idea? Come and have a look at my article. It's easy to use

ArrayList loop removes the pit encountered
![[to]12 common IP commands in the iproute installation package](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[to]12 common IP commands in the iproute installation package

Echart折线图:多条折线图每次仅展示一条

php 分布式事务 原理详解

Shardingsphere JDBC exception: no table route info
随机推荐
Data conversion analysis tool
Minimum spanning tree (prim+kruskal) learning notes (template +oj topic)
Rk3399 hid gadget configuration
Swift property property
Why do so many people hate a-spice
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples
Leetcode- reverse string - simple
The SQL file of mysql8.0 was imported into version 5.5. There was a pit
Printf function
Power of leetcode-4 - simple
Uniapp hides the scroll bar of scroll view
You still can't remotely debug idea? Come and have a look at my article. It's easy to use
Leetcode- third largest number - simple
Leetcode guessing numbers game - simple
Leetcode- first unique character in string - simple
FusionPBX 安装 —— 筑梦之路
AI实现亲人“复活”|老照片修复|老照片上色,免费APP推荐
Leetcode- keyboard line - simple
Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable
Leetcode- number of maximum consecutive ones - simple