plague-sim

Viral Propagation Simulator, icluding pathogen parameters, social isolation, health care system overloading, fatality rates

Usage no npm install needed!

<script type="module">
  import plagueSim from 'https://cdn.skypack.dev/plague-sim';
</script>

README

Viral Propagation Simulator

Based on random contact simulation algorithms, this tool can model the propagation profile of a virus in a population on the basis of a range of parameters. They can be adjusted to capture both policy and social constraints, as well as basic characteristics of the virus and the population. It is an attempt to formalise some of the concepts that have been shared in analysing spread patterns for the SARS-CoV-2 virus.

screen

Installation

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/plague-sim@latest/dist/plague-sim.js'></script> in the head of your index.html
  • Then you can use the plague-dashboard tag anywhere in your template, JSX, html etc

Node Modules

  • Run npm install plague-sim --save
  • Put a script tag similar to this <script src='node_modules/plague-sim/dist/plague-sim.js'></script> in the head of your index.html
  • Then you can use the plague-dashboard tag anywhere in your template, JSX, html etc

Example

    <html>
    <head>
        <script src='https://unpkg.com/plague-sim@latest/dist/plague-sim.js'></script>
      </head>
      <body>
         <plague-dashboard></plague-dashboard>
      </body>
    </html>

Demo

Demo page