covid 19 map dashboard - Free Download COVID-19 Map Of Cases And Deaths Around The World - COVID-19 Dashboard

Free Download COVID-19 Map Of Cases And Deaths Around The World – COVID-19 Dashboard

Posted on

This time I will share jQuery Plugin and tutorial about COVID-19 Map Of Cases And Deaths Around The World – COVID-19 Dashboard, hope it will help you in programming stack.

covid 19 map dashboard - Free Download COVID-19 Map Of Cases And Deaths Around The World - COVID-19 Dashboard
File Size: 1.44 MB
Views Total: 876
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A COVID-19 dashboard that consists of a world map of confirmed COVID-19 cases, deaths, recovered patients around the world and a World Wide Statistics widget showing the latest data in a bar chart.

Dependencies:

  • Bootstrap 4 framework.
  • jqvmap: jQuery Vector Map Plugin.
  • axios: Promise based HTTP client for the browser and node.js.
  • Chart.js: Simple HTML5 Chart library.
  • covid19api: A free API for data on the Coronavirus.

How to use it:

1. Load the necessary JavaScript and CSS files in your HTML document.

01 <!-- Stylesheet -->
02 <link href="/path/to/dist/jqvmap.css" rel="stylesheet" />
03 <link rel="stylesheet" href="/path/to/cdn/bootstrap.min.css" />
04  
05 <!-- JavaScript -->
06 <script src="/path/to/cdn/jquery.min.js"></script>
07 <script src="/path/to/dist/jquery.vmap.js"></script>
08 <script src="/path/to/dist/maps/jquery.vmap.world.js"></script>
09 <script src="/path/to/cdn/axios.min.js"></script>
10 <script src="/path/to/js/jquery.vmap.sampledata.js"></script>
11 <script src="/path/to/cdn/chart.js"></script>
12 <script src="/path/to/cdn/popper.min.js"></script>
13 <script src="/path/to/cdn/bootstrap.min.js"></script>

2. Build the HTML for the COVID-19 dashboard.

01 <div id="loader" style="display: flex; justify-content: center;">
02   <div class="spinner-grow text-muted mt-3"></div>
03   <div class="spinner-grow text-primary mt-3"></div>
04   <div class="spinner-grow text-success mt-3"></div>
05   <div class="spinner-grow text-info mt-3"></div>
06   <div class="spinner-grow text-warning mt-3"></div>
07   <div class="spinner-grow text-danger mt-3"></div>
08   <div class="spinner-grow text-secondary mt-3"></div>
09   <div class="spinner-grow text-dark mt-3"></div>
10   <div class="spinner-grow text-light mt-3"></div>
11 </div>
12  
13 <!-- <a href="https://www.jqueryscript.net/tags.php?/Modal/">Modal</a> -->
14 <div
15   class="modal fade"
16   id="alert-modal"
17   tabindex="-1"
18   role="dialog"
19   aria-labelledby=""
20   aria-hidden="true"
21 >
22   <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
23     <div class="modal-content">
24       <div class="modal-header">
25         <h5 class="modal-title" id="modal-title"></h5>
26         <button
27           type="button"
28           class="close"
29           data-dismiss="modal"
30           aria-label="Close"
31         >
32           <span aria-hidden="true" id="modal-body">&times;</span>
33         </button>
34       </div>
35       <div class="modal-body">
36         <div class="container-fluid">
37           <div class="row">
38             <div class="col-md-12">
39               <div id="region-stat-chart-container">
40                 <canvas id="region-stat-chart"></canvas>
41               </div>
42             </div>
43           </div>
44         </div>
45  
46         <div class="container-fluid">
47           <div class="row">
48             <div class="col-md-6">
49               <ul class="list-group">
50                 <li class="list-group-item">
51                   <h6>New</h6>
52                 </li>
53                 <li
54                   class="list-group-item list-group-item-warning"
55                   id="region-new-confirmed"
56                 ></li>
57                 <li
58                   class="list-group-item list-group-item-danger"