DEV Community

Cover image for Covid-19 Live Insights - Hard rework
David B.
David B.

Posted on

Covid-19 Live Insights - Hard rework

I want to republish the coronavirus analytics platform

https://coronavirus.davidb.dev/

Covid-19 image

New features :

Live analytics - data updated in every 15 m. It comes from John Hopkins university repo and Worldometers.

Location-based content - based on your location, the corresponding country will be highlighted and corresponding language will be set.

Predictions - Predictions are made using polynomial regression function. 1,2,3 orders of regressions are applied, with rSquared more than 0.9. It lets you see what will happen in one week.

Mobile-Friendly - 50% of viewers were using mobile phones.

It does have one weak point, which is translation. I translated words in different languages using google translate, so they won't be perfect. Here is the translation file

Translate.csv on Github (Pull requests welcome)

As before, you can again check the country and continent level statistics and travel through time.

I don't usually like to republish things, but I spent so much time on this, I can't just let it go unnoticed.

I would appreciate your feedback

Top comments (23)

Collapse
 
czerus profile image
czerus

Really good work! Just few issues. Most probably library that you use to translate GUI translates country Turkey to indyk which means in polish the bird turkey, also the name of the month is wrong.

Collapse
 
dbumbeishvili profile image
David B.

I know about the wrong month name, plan to fix it. I did not know about the country name though, I will also fix it

I updated post and included a link to the translation file. You are welcome to send PR if you notice other irregularities in translations

Collapse
 
olegchursin profile image
Oleg Chursin

Great work!

Collapse
 
bardaxx profile image
Giacomo Alonzi

Amazing work David!!! 😷 Love it!

Collapse
 
mikelogaciuk profile image
mikelogaciuk

Great work! Looks superb.

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him)

Coolio..... Why India though ? 🙄

Collapse
 
siddiqnx profile image
Siddiq Nx

It shows the country where the user is visiting the website from.

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him)

Cool

Collapse
 
pa_ulander profile image
PA Ulander

Great work!

Collapse
 
zspine profile image
M#3

Excellent work! Thanks a lot for sharing

Collapse
 
vinodchauhan7 profile image
vinodchauhan7 • Edited

A big fan of your work..

Collapse
 
kildareflare profile image
Rich Field

One of best examples I've seen of showing this data. Nice work

Collapse
 
guneyozsan profile image
Guney Ozsan

Good work. Just sent a PR.

Collapse
 
dbumbeishvili profile image
David B.

Thank you, merged it

Collapse
 
dilley_amanda profile image
future_coder2020

This is amazing! Thanks!

Collapse
 
soniagm profile image
Sonia

Great job! Very clear and neat.
I saw one little issue. The number of new cases shown for Italy is 0.

Collapse
 
dbumbeishvili profile image
David B.

It's because Italy publishes new cases data in the second half of the day. If you want to see previous days' new cases, just move time range slider left side (one day less). It will give you better overall information regarding new cases

Collapse
 
uchm4n profile image
UchMan

Nice project David, thanks for sharing.

Collapse
 
siddiqnx profile image
Siddiq Nx

Hi. Great work! Could you tell me what chart/graph library you used for this?

Collapse
 
dbumbeishvili profile image
David B.

I used d3.js almost for all of things

Collapse
 
rolfstreefkerk profile image
Rolf Streefkerk

I like the timeline function, it really shows how quickly this virus gets out of control and that we're just starting to feel its effects. Good work.

Collapse
 
dbumbeishvili profile image
David B.

Thank you, that is one area, which definitely needs improvement though. Nice transitions would make a big difference