2019-nCoV 全国新型肺炎疫情每日动态趋势可视图
作者:互联网
传染源: 野生动物,可能为中华菊头蝠
病毒: 新型冠状病毒 2019-nCoV
传播途径: 经呼吸道飞沫传播,亦可通过接触传播
易感人群: 人群普遍易感。老年人及有基础疾病者感染后病情较重,儿童及婴幼儿也有发病
潜伏期: 一般为 3~7 天,最长不超过 14 天,潜伏期内存在传染性
(信息来源:丁香园·丁香医生 2020年1月29日)
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>全国新型肺炎疫情每日动态</title>
<script src="https://cdn.bootcss.com/echarts/4.4.0-rc.1/echarts.min.js"></script>
<style>
#dataFrom {
font-size: 14px;
text-align: right;
margin-right: 40px;
}
</style>
</head>
<body>
<div id="main" style="width: 100%;height:600px;"></div>
<div id="dataFrom">(数据来源:<a href="http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml"
target="_blank">中华人民共和国国家卫生健康委员会</a>)</div>
<script type="text/javascript">
var myChart = echarts.init(document.getElementById('main'));
option = {
title: {
text: '全国新型肺炎疫情每日动态',
x: 'center',
y: 'bottom',
},
legend: {},
tooltip: {},
dataset: {
dimensions: ['count', '确诊', '疑似', '重症', '死亡', '治愈', '确认+疑似', '新增', '观察中'],
source: [
{
count: "2020/1/20",
"确诊": "291",
"疑似": "54",
"重症": "-",
"死亡": "6",
"治愈": "25",
"确认+疑似": "345",
"新增": "-",
"观察中": "922"
},
{
count: "2020/1/21",
"确诊": "440",
"疑似": "37",
"重症": "102",
"死亡": "9",
"治愈": "28",
"确认+疑似": "477",
"新增": "132",
"观察中": "1394",
},
{
count: "2020/1/22",
"确诊": "571",
"疑似": "393",
"重症": "95",
"死亡": "17",
"治愈": "49",
"确认+疑似": "964",
"新增": "487",
"观察中": "4928",
},
{
count: "2020/1/23",
"确诊": "830",
"疑似": "1072",
"重症": "177",
"死亡": "25",
"治愈": "34",
"确认+疑似": "1902",
"新增": "938",
"观察中": "8420",
},
{
count: "2020/1/24",
"确诊": "1287",
"疑似": "1965",
"重症": "237",
"死亡": "41",
"治愈": "38",
"确认+疑似": "3252",
"新增": "1350",
"观察中": "13967",
},
{
count: "2020/1/25",
"确诊": "1975",
"疑似": "2684",
"重症": "324",
"死亡": "56",
"治愈": "49",
"确认+疑似": "4659",
"新增": "1407",
"观察中": "21556",
},
{
count: "2020/1/26",
"确诊": "2744",
"疑似": "5794",
"重症": "461",
"死亡": "80",
"治愈": "51",
"确认+疑似": "8538",
"新增": "3879",
"观察中": "30453",
},
{
count: "2020/1/27",
"确诊": "4515",
"疑似": "5794",
"重症": "976",
"死亡": "106",
"治愈": "60",
"确认+疑似": "10309",
"新增": "1771",
"观察中": "44132",
},
{
count: "2020/1/28",
"确诊": "5974",
"疑似": "9239",
"重症": "1239",
"死亡": "132",
"治愈": "103",
"确认+疑似": "15213",
"新增": "4904",
"观察中": "59990",
},
]
},
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);
</script>
</body>
</html>
图表查看地址:
https://jackiezheng.github.io/2019-nCoV/web/index.html
Github地址:
https://github.com/JackieZheng/2019-nCoV
JackieZhengChina 发布了110 篇原创文章 · 获赞 53 · 访问量 23万+ 私信 关注标签:count,重症,疑似,nCoV,2020,视图,2019,治愈,type 来源: https://blog.csdn.net/admans/article/details/104107248