当前位置:网站首页>Tree map: tree view - draw covid-19 array diagram
Tree map: tree view - draw covid-19 array diagram
2022-07-07 04:49:00 【Mrrunsen】
Tree Map Tree view , visualization
Pie chart is used to show the proportion of each data in the total , But when the number of data individuals is large , When the scale difference is large , The pie chart cannot be well displayed . The tree view is a visual way to show the data ratio through the space filling proportion . It can well reflect the evaluation of data , Visually display the proportion of data with different properties .
19 Accumulated in countries COVID-19 epidemic situation
end 2020-4-4 Japan 16 when
Illustration :
tree map The area of the rectangular card shows the COVID-19 condition .
The size and order of the rectangle are calculated .
According to the size of the data , The largest rectangle almost occupies a separate area .
There are many different algorithms for calculating matrix shapes , To reflect different data evaluation perspectives .
The usual way is :
Treat the largest data as 1, Other data calculate the matrix size through ratio .
Due to the relatively small amount of other data , Therefore, the data structure can be displayed through such a tree view . The sub matrix graph created , It can also be used as a new subset attribute .
Color is only used to distinguish different data
Code implementation
1
Data sources
Data sources :
4 month 4 Japan 16 when People's daily new media
2
Data import
Import the sorted data into
边栏推荐
- 两个div在同一行,两个div不换行「建议收藏」
- Up to 5million per person per year! Choose people instead of projects, focus on basic scientific research, and scientists dominate the "new cornerstone" funded by Tencent to start the application
- Thesis landing strategy | how to get started quickly in academic thesis writing
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
- [team learning] [34 issues] scratch (Level 2)
- 【实践出真理】import和require的引入方式真的和网上说的一样吗
- A line of R code draws the population pyramid
- MySQL null value processing and value replacement
- Intel David tuhy: the reason for the success of Intel aoten Technology
- Detect when a tab bar item is pressed
猜你喜欢
[team learning] [34 sessions] Alibaba cloud Tianchi online programming training camp
英特尔David Tuhy:英特尔傲腾技术成功的原因
How to solve the problem of adding RTSP device to easycvr cluster version and prompting server ID error?
Read of shell internal value command
MySQL数据库(基础篇)
各路行业大佬称赞的跨架构开发“神器”,你get同款了吗?
On the 110th anniversary of Turing's birth, has the prediction of intelligent machine come true?
This "advanced" technology design 15 years ago makes CPU shine in AI reasoning
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
Common methods of list and map
随机推荐
leetcode 53. Maximum Subarray 最大子数组和(中等)
mpf2_线性规划_CAPM_sharpe_Arbitrage Pricin_Inversion Gauss Jordan_Statsmodel_Pulp_pLU_Cholesky_QR_Jacobi
Analyse approfondie de kubebuilder
九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
The easycvr platform is connected to the RTMP protocol, and the interface call prompts how to solve the error of obtaining video recording?
英特尔David Tuhy:英特尔傲腾技术成功的原因
Meow, come, come: do you really know if, if else
Meaning of 'n:m' and '1:n' in database design
MySQL null value processing and value replacement
软件测试之网站测试如何进行?测试小攻略走起!
程序员上班摸鱼,这么玩才高端!
Jetson nano configures pytorch deep learning environment / / to be improved
NTU notes 6422quiz review (1-3 sections)
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
[team learning] [34 issues] scratch (Level 2)
Run the command once per second in Bash- Run command every second in Bash?
一图看懂!为什么学校教了你Coding但还是不会的原因...
DFS and BFS concepts and practices +acwing 842 arranged numbers (DFS) +acwing 844 Maze walking (BFS)
How does vscade use the built-in browser?