Code Monkey home page Code Monkey logo

pneumonia's Introduction

**新型冠状病毒肺炎疫情地级市图

使用说明

方式一(推荐):直接网页访问

本项目已经部署在 阿里云 上了。可以直接访问 这里。每十五分钟自动更新。

方式二:自己手动生成

python3 generate_data.py # 这一步会从丁香园疫情网页上获得地级市的疫情确认数,之后写入到 confirmed_data.js
open index.html # 使用高德地图 API 画图,使用了上一步中的获得的数据
open heatmap.html # 使用echart API 画图,使用了上一步中的获得的数据

##修改说明

  • 1.增加图例
  • 2.增加点击查看数据
  • 3.增加趋势图页面
  • 4.增加分区县疫情查看页面
  • 5.增加疫情热力图

注意事项

  • 部分行政区划在高德地图中过时了,导致绘图不正确。例如山东省莱芜市已经合并进济南,变成了济南市莱芜区。但是高德地图上济南染色时没有包含莱芜区,因此莱芜看起来是没有病例的白色。

效果

效果图

pneumonia's People

Contributors

green512 avatar jackyren avatar lispc avatar lispczz avatar

Watchers

 avatar

Forkers

zhu-yao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.