程序员

2019-nCoV 全国新型肺炎疫情每日动态趋势可视图

作者:admin 2021-04-19 我要评论

传染源:野生动物,可能为中华菊头蝠 病毒:新型冠状病毒 2019-nCoV 传播途径:经呼吸道飞沫传播,亦可通过接触传播 易感人群: 人群普遍易感。老年人及有基础疾病者...

在说正事之前,我要推荐一个福利:你还在原价购买阿里云、腾讯云、华为云服务器吗?那太亏啦!来这里,新购、升级、续费都打折,能够为您省60%的钱呢!2核4G企业级云服务器低至69元/年,点击进去看看吧>>>)

传染源: 野生动物,可能为中华菊头蝠

病毒: 新型冠状病毒 2019-nCoV

传播途径: 经呼吸道飞沫传播,亦可通过接触传播

易感人群: 人群普遍易感。老年人及有基础疾病者感染后病情较重,儿童及婴幼儿也有发病

潜伏期: 一般为 3~7 天,最长不超过 14 天,潜伏期内存在传染性

(信息来源:丁香园·丁香医生 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>全国新型肺炎疫情每日动态</title>
 <script src="/uploads/allimg/210419/1201162C8-1.jpg"></script>
 <script src="/uploads/allimg/210419/1201162315-2.jpg"></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 href="http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml" rel="external nofollow" 
  target="_blank">中华人民共和国国家卫生健康委员会</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: '全国新型肺炎疫情每日动态',
  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 全国新型肺炎疫情每日动态趋势可视图,希望对大家有所帮助!


本文转载自网络,原文链接:https://m.jb51.net/article/179255.htm

版权声明:本文转载自网络,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本站转载出于传播更多优秀技术知识之目的,如有侵权请联系QQ/微信:153890879删除

相关文章
  • 四两拨千斤——你不知道的VScode编码Ty

    四两拨千斤——你不知道的VScode编码Ty

  • 我是如何在 Vue 项目中做代码分割的

    我是如何在 Vue 项目中做代码分割的

  • position:sticky 粘性定位的几种巧妙应

    position:sticky 粘性定位的几种巧妙应

  • 从零到一搭建React组件库

    从零到一搭建React组件库