当前位置:网站首页>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
边栏推荐
- Field data acquisition and edge calculation scheme of CNC machine tools
- Vscode 如何使用内置浏览器?
- C # use Siemens S7 protocol to read and write PLC DB block
- 论文上岸攻略 | 如何快速入门学术论文写作
- Organize five stages of actual attack and defense drill
- Intel and Xinbu technology jointly build a machine vision development kit to jointly promote the transformation of industrial intelligence
- Two methods of chromosome coordinate sequencing
- Basic idea of counting and sorting
- Common methods of list and map
- The easycvr platform is connected to the RTMP protocol, and the interface call prompts how to solve the error of obtaining video recording?
猜你喜欢
[line segment tree practice] recent requests + area and retrieval - array modifiable + my schedule I / III
深耕开发者生态,加速AI产业创新发展 英特尔携众多合作伙伴共聚
Intel David tuhy: the reason for the success of Intel aoten Technology
NTU notes 6422quiz review (1-3 sections)
Win11图片打不开怎么办?Win11无法打开图片的修复方法
Digital chemical plants realize the coexistence of advantages of high quality, low cost and fast efficiency
Fix the problem that the highlight effect of the main menu disappears when the easycvr Video Square is clicked and played
What about the collapse of win11 playing pubg? Solution to win11 Jedi survival crash
AI 落地新题型 RPA + AI =?
Read of shell internal value command
随机推荐
Leetcode notes
How does vscade use the built-in browser?
Common methods of list and map
一图看懂!为什么学校教了你Coding但还是不会的原因...
Programmers go to work fishing, so play high-end!
A picture to understand! Why did the school teach you coding but still not
Case reward: Intel brings many partners to promote the innovation and development of multi domain AI industry
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
食堂用户菜品关系系统(C语言课设)
sscanf,sscanf_s及其相关使用方法「建议收藏」
acwing 843. N-queen problem
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
图灵诞辰110周年,智能机器预言成真了吗?
深入解析Kubebuilder
System framework of PureMVC
[practice leads to truth] is the introduction of import and require really the same as what is said on the Internet
Win11控制面板快捷键 Win11打开控制面板的多种方法
日常工作中程序员最讨厌哪些工作事项?
leetcode 53. Maximum subarray maximum subarray sum (medium)
Jetson nano配置pytorch深度学习环境//待完善