DEV Community

Discussion on: 📈 I've open-sourced a simple Coronavirus (COVID-19) dashboard (React + Chart.js + BootstrapTable)

Collapse
 
barelyhuman profile image
Reaper • Edited

I've got one too, It's a little on the minimal side of things though
Covid-19 Counter

Collapse
 
eerrecalde profile image
Emiliano

Looks great! Just one tiny bug I found.. Pagination doesn't reset when searching.
e.g: Type "Tu" and it shows 4 results and "17" pages.

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Thanks for reporting the bug! Do you mean that countries table height is not being changed when, let's say, it is only two countries found as a search result?

Thread Thread
 
barelyhuman profile image
Reaper

That was for me, hahah

Thread Thread
 
eerrecalde profile image
Emiliano • Edited

Sorry Oleksii! I meant to reply to only Sid's comment (I was referring to his app, not yours).
Your app works great btw, and I've already shared it :)

Thread Thread
 
trekhleb profile image
Oleksii Trekhleb

Haha! I see now :D

Collapse
 
barelyhuman profile image
Reaper

Oh thanks, Will be fixed today

Collapse
 
sakibulislam profile image
Sakibul Islam

Well done!

Collapse
 
johnnyjamesnavarro profile image
Johnny Navarro

Minimalistic but very nice, thanks for sharing.

Collapse
 
barelyhuman profile image
Reaper

Thanks

Collapse
 
mfsiat profile image
Md. Nasirul Islam

Which API did you use?
Thanks in advance

Collapse
 
barelyhuman profile image
Reaper

It's a personal scraper that's reading data off of worldometer.info

Collapse
 
otomer profile image
Tomer Ovadia • Edited

Great work! Would love to share mine too, coronavirus-epidemic.com
(Should be pandemic though! ) You can also read about it here coronavirus-covid-19-dashboard-wit...

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Nice one!

Collapse
 
hackergaucho profile image
Hacker Gaucho

nice job! can you add a filter by continent? it's interesting expose the worst country of the continent by fatalities rate.

Thread Thread
 
otomer profile image
Tomer Ovadia

Thank you & this is a great idea :) !

Thread Thread
 
hilleer profile image
Daniel Hillmann

You can get a more detailed view of corona here if you like: bing.com/covid

Thread Thread
 
otomer profile image
Tomer Ovadia

Can you tell if there's a free API to use with that?

Thread Thread
 
hilleer profile image
Daniel Hillmann

Sorry, I dont know...

Thread Thread
 
jamosch profile image
jamosch

Theres a json with all the informations inside - bing.com/covid/data
So you should be able to consume that data.
I don't know which restrictions exists.

Thread Thread
 
bam92 profile image
Abel Lifaefi Mbula

Though this app (bing.com/covid) is UX/UI-friendly, data are outdated. Take caution when using it. At the moment I am writing this, The global situation is 1,503,900 confirmed from here but from their site.
Another test, the situation in the DRC is 207 from this other source but 180 from our beautiful bing.com.

Collapse
 
firesidecode profile image
Goodnews Oguguo

This is cool. What tools did you use to create this?

Thread Thread
 
otomer profile image
Tomer Ovadia

For backend I used TypeScript + Node.js, and for the frontend I used HTML, CSS, jQuery and lots of jQuery Plugins & Widgets

Collapse
 
chan_austria777 profile image
chan 🤖

great work.

I have some questions

  • How did you get all those list of countries with the flag icons? did the icons come along with the api?
  • As i see it, it defaults the the viewer's country, how did you do that?
  • How do you sync the results in the background?

Thanks

Thread Thread
 
otomer profile image
Tomer Ovadia • Edited

Hey @chan_austria777 ! Thank you for the feedback :) I created a post of my own with all the details - feel free to check it - coronavirus-covid-19-dashboard-wit...

Thread Thread
 
chan_austria777 profile image
chan 🤖

thanks

Collapse
 
jamosch profile image
jamosch

Looks really pretty.
With Brave Browser the site didn't come up.
It works with Chrome instead.

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
otomer profile image
Tomer Ovadia

I will definitely try on BB which i'm less familiar with.
Thank you for your comment!

Thread Thread
 
otomer profile image
Tomer Ovadia

I just tested it on BB, looks like its blocking for some security tracking reason (analytics/api) or because the name of the domain includes the word virus.. You can also check this link instead.

Thread Thread
 
jamosch profile image
jamosch

Thanks for your reply and the alternate link.

Collapse
 
barelyhuman profile image
Reaper

This is so beautiful! Nice work!

Collapse
 
trekhleb profile image
Oleksii Trekhleb

Good job!

Collapse
 
sakibulislam profile image
Sakibul Islam

Well done!

Collapse
 
hansfpc profile image
Hans Piña

Hi Siddharth, can you tell me how to get the data source?

Collapse
 
barelyhuman profile image
Reaper

the data source is a server that's scraping worldometers