2019-nCoV 全國新型肺炎疫情每日動態(tài)趨勢可視圖
傳染源: 野生動物,可能為中華菊頭蝠
病毒: 新型冠狀病毒 2019-nCoV
傳播途徑: 經呼吸道飛沫傳播,亦可通過接觸傳播
易感人群: 人群普遍易感。老年人及有基礎疾病者感染后病情較重,兒童及嬰幼兒也有發(fā)病
潛伏期: 一般為 3~7 天,最長不超過 14 天,潛伏期內存在傳染性

(信息來源:丁香園·丁香醫(yī)生 2020年1月29日)
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>全國新型肺炎疫情每日動態(tài)</title>
<script src="https://cdn.bootcss.com/echarts/4.4.0-rc.1/echarts.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
#dataFrom {
font-size: 14px;
text-align: right;
margin-right: 40px;
}
#main {
width: 100%;
height: calc(100% - 30px);
}
</style>
</head>
<body>
<div id="main"></div>
<div id="dataFrom">(數據來源:<a rel="external nofollow"
target="_blank">中華人民共和國國家衛(wèi)生健康委員會</a>)</div>
<script type="text/javascript">
var myChart = echarts.init(document.getElementById('main'));
var dataSource = [];
$.ajaxSettings.async = false;
$.getJSON("../Json/data.json?" + Date.parse(new Date()), function (data) {
dataSource = data;
})
option = {
title: {
text: '全國新型肺炎疫情每日動態(tài)',
x: 'center',
y: 'bottom',
},
legend: {},
tooltip: {},
dataset: {
dimensions: ['日期', '確診', '疑似', '重癥', '死亡', '治愈', '確認+疑似', '新增(疑似+確認)', '觀察中'],
source: dataSource,
},
xAxis: { type: 'category' },
yAxis: {},
series: [
{ type: 'bar' },
{ type: 'bar' },
{ type: 'bar' },
{ type: 'bar' },
{ type: 'bar' },
{
type: 'line',
label: {
normal: {
show: true,
position: 'top',
}
}
},
{
type: 'line',
label: {
normal: {
show: true,
position: 'top',
}
}
},
{
type: 'line',
label: {
normal: {
show: true,
position: 'top',
}
}
}
]
};
myChart.setOption(option);
window.onresize = () => this.myChart.resize();
</script>
</body>
</html>
圖表查看地址:
https://jackiezheng.github.io/2019-nCoV/web/index.html
Github地址:
https://github.com/JackieZheng/2019-nCoV
總結
以上所述是小編給大家介紹的2019-nCoV 全國新型肺炎疫情每日動態(tài)趨勢可視圖,希望對大家有所幫助!
相關文章
vscode通過Remote SSH遠程連接及離線配置的方法
這篇文章主要介紹了vscode通過Remote SSH遠程連接及離線配置的方法,本文給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值,需要的朋友可以參考下2021-03-03
深入理解TCP協(xié)議與UDP協(xié)議的原理及區(qū)別
網絡編程有三個要素,分別是IP地址、端口號和通信協(xié)議,那本文主要講述的是TCP與UDP這兩種通信協(xié)議,以及編程的實現,感興趣的可以了解一下2021-06-06

