origin

The pneumonia epidemic is so widespread that you can only watch the news and play games at home. Yesterday, I saw the “Wuhan Pneumonia epidemic real-time dynamic map development of Provinces and cities” by Shanyue, and decided to pick up the keyboard to stroke one. The development time is short, the bug is inevitable, everybody big boss forgive me.

Basic introduction of program

  1. Data captured fromTencent news
  2. Diagrams are Echarts(vue-Echarts is used internally)
  3. Support for provincial maps
  4. Vue-cli@3 Scaffolding Project
  5. View source code
  6. Online sample

Quick start

# install dependencies
npm i

# Grab Tencent news data
node ./build-data.js

# Development mode
npm run serve
Copy the code

Unrealized.

Run build-data.js periodically to capture the latest data.