DEV Community

Cover image for Not just another Coronavirus (covid-19) dashboard with live statistics
Tomer Ovadia
Tomer Ovadia

Posted on • Edited on

Not just another Coronavirus (covid-19) dashboard with live statistics

So many Coronavirus statistics websites are built these days!

Sharing with you mine which is a responsive dashboard website I created presenting Coronavirus (COVID-19) pandemic live statistics and news tracking historical data, daily charts, graphs, a per country view and more! coronavirus-epidemic.com

Alt Text

Note: VPN/Antivirus policies might block this website because the domain includes the word "virus" (how stupid is that?), so you can also use try using this alternative link.

So besides the obvious which is sharing with you some screenshots and the list of technologies used, I added some fun-to-read coronavirus guide for humans (which of course includes lots of emojis!) - Just slide down this article to see it πŸ˜ƒ Feel free to suggest some of yours!

In any case, if you have some questions, feedback or recommendations - You are welcome to leave any comment

Screenshots

Desktop

Coronavirus Map and Charts

Coronavirus search country and piechart

Mobile

Alt Text

Coronavirus covid19 graph

Coronavirus continents compare

Tech Stack

Backend:

Frontend:

Hosting:

APIs

And since we all like emojis..

🦠😷 Coronavirus Humans Guide

Some of the credit goes to: https://emojipedia.org/coronavirus/

🚫🀦 Don't touch your face
🚫🀧🀲 Don't sneeze into hands
🚫🀝 No handshakes
πŸš«πŸ§‘β€πŸ€β€πŸ§‘ No close contact
🚫🏟 No large gatherings
πŸš«πŸ›’πŸ˜‘ When using local shops, don't buy literally everything on the shelves. Leave enough for others!

βœ…πŸ€§πŸ’ͺ Do sneeze into your elbow
βœ…πŸ˜· Do put a medical mask
πŸ§ΌπŸ‘β²2⃣0⃣ Wash your hands regularly, for at least 20 seconds
🧴🀲 If soap is unavailable; use alcohol-based handrub / sanitizer
βœ…πŸ“¦πŸ˜Œ If practical, have groceries and other items delivered to your home

πŸ§β†”πŸ§ Keep a reasonable distance from others
πŸ§β–«β–«πŸ§ Stand 2m (6ft) apart
🧍🏠 Stay at home


If you liked the article, please give it a ⭐ on web-coronavirus-stats repository and click the ❀️ below so other people will see it on DEV.to :) ! Feel free to follow me on Github

Latest comments (49)

Collapse
 
slotix profile image
Dmitry Narizhnyhkh

Excellent job! πŸ‘
Please check out our COVID-19 widgets and simple API.
Similar to your website, our widgets show live statistics local to a visitor depending on one's location

Collapse
 
meir profile image
Meir Roth

wow looks good!
great job πŸ‘

Collapse
 
chan_austria777 profile image
chan πŸ€–

there's a widget that defaults to the current country of the viewer. Would you mind sharing how to do that?

Collapse
 
otomer profile image
Tomer Ovadia

Hi @chan_austria777 , sure! I am basing my decision of what country to auto-select according to the client's public IP address. Note that it's not 100% correct since you might be using a VPN or something that alters your IP address but for my needs it was enough. To detect the IP address I am using the following ipapi.co API, specifically the following /GET ipapi.co/json/ endpoint which results with a simple JSON that you can retrieve the user's country code from.

 
otomer profile image
Tomer Ovadia

Thank you

Collapse
 
otomer profile image
Tomer Ovadia

Super nice @jarovarga :) I can understand you!

Collapse
 
itachiuchiha profile image
Itachi Uchiha

It looks amazing. But I want to say something. May it be good that the header container sticky. For example;

.header-container {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: #060818;
}
Collapse
 
otomer profile image
Tomer Ovadia

I love your suggestion @aligoren , Thank you.

Collapse
 
alelepd profile image
Alejandro León ✏️

Good idea!
I noticed an error on Chile's continent, it says Chile is in Africa, but it is actually in South America.

Collapse
 
otomer profile image
Tomer Ovadia • Edited

Thank you I have just added this to my tasks list :)

Edit: Fixed :)

Collapse
 
stokry profile image
Stokry

Is this template that you use for this dashboard: : designreset.com/cork/ltr/demo8/

Collapse
 
otomer profile image
Tomer Ovadia • Edited

Yes but it has few diffs

Collapse
 
stokry profile image
Stokry

Ok, if you say so.

Collapse
 
nedimf profile image
Nedim F

Awesome design, website is working awesome too. Great job.

Collapse
 
otomer profile image
Tomer Ovadia

Thank you @nedimf :)

Collapse
 
kiromousa profile image
kiro

really good Tomer!!