Giter Site home page Giter Site logo

henryzt / covid-19-timeline-data-visualizer Goto Github PK

View Code? Open in Web Editor NEW
69.0 6.0 24.0 12.05 MB

Coronavirus UK and world data visualizer with interactive timeline using Vue.js and Naive UI - Covid19 dashboard

Home Page: https://covid19.henryzt.com/

HTML 4.95% CSS 5.85% Vue 75.81% TypeScript 13.38%
vue covid-19 covid19 coronavirus coronavirus-tracking coronavirus-real-time bootstrap covid visualization interactive

covid-19-timeline-data-visualizer's Introduction

COVID-19 Data Visualizer & Interactive Timeline

Netlify Status Build Status

Coronavirus UK and world data visualiser with interactive timeline using vue and bootstrap

covid19.henryzt.com

img1

Running on covid19.henryzt.com and covid19.uclcssa.cn.

Screenshots

(to be updated)

Charts and Data img1

Confirmed Cases Bar Race Animation img1

Region Maps img1

Detailed Region List img1

Country Drop Down Select img1

Data Source

Contributors

covid-19-timeline-data-visualizer's People

Contributors

davi-x avatar dependabot[bot] avatar henryzt avatar magetron avatar robinwongm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

covid-19-timeline-data-visualizer's Issues

Ignore package-lock.json and yarn.lock

It looks like contributors might be using different tooling (yarn vs npm) which generate different lockfiles respectively.

Keep only one of the lock files and specify which package manager to use, or else you likely will get different build results depending on which package manager you are using.

Since this is a website and not a CLI tool or binary, you do not need to include the package lock files anyways.

Consider ignoring both package-lock.json and yarn.lock.

Couldn't install and run the server locally

Hello! :)

What is done:

  1. Forked this repo
  2. Cloned it from there
  3. Now tried to install the dependencies

What is seen:

  • Seen while running the command npm install

image

  • To find what dependency was failing, installed one by one, and found that vue-fusioncharts was the one.

image

  • And this is what I get when trying to run the server

image

Versions/Machine configurations:

Node - 8.9.4
npm - 5.6.0
Windows - OS 10

Thank you!

Performance improvements

On mobile platforms, the webpage can become less responsive (i.e. frame rate can drop below 60 FPS, especially on older/weaker mobile platforms).

I see that in your run-time dependencies you depend on d3, highcharts, apexcharts and fushioncharts. These dependencies are not light weight by any means.

Consider incorporating something like webpack or rollup to do several tasks:

  • Dead code elimination (tree-shaking) to reduce built .js size.
  • Serve the run-time javascript through multiple files to mitigate blocking time on waiting for a large single file (see webpack chunks).
  • Minification (reduce whitespaces, reduce build javascript size, reduce network bandwidth usage).
  • Consider dynamic imports import() as recommeded in webpack so you need not load everything at once (see Code Splitting | Webpack Guides).

Ignore generated files

The dist/ directory contains generated files which should be ignored, as it is extremely easy to become stale.

For deployment, consider configuring a CI/CD (such as Travis). Might be easier if you write a small build script that:

  • Deletes dist/ if it exists.
  • Runs suitable build commands.
  • Upload the generated files to the correct remote.

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.