konradkalemba / korona.ws Goto Github PK
View Code? Open in Web Editor NEW馃椇 Coronavirus interactive map of Poland
Home Page: https://korona.ws
馃椇 Coronavirus interactive map of Poland
Home Page: https://korona.ws
Does this map support live update? I have it opened for hours and data is not updated. Then I refreshed whole page and data was updated. I can see that there is websocket but I this that it does not handle updates.
It concerns the tweet: https://twitter.com/MZ_GOV_PL/status/1239457262361550851
I heard that they are people from Mielec. But unfortunately I can't confirm it anywhere. I would ask for help in searching for the source.
Problem with z-index. On zoom out zoom in somtimes markers are rendered under the map tile.
Even though a default React app icon is a bit virus-shaped (馃槢), we should make our own basic identification - what I mean is an icon / a logo. It would also help us in terms of PWA (#31). Feel free to submit one.
艢wietny pomys艂, wykonanie.
Z mojej strony Ma艂y pomys艂...
Du偶o os贸b szuka w necie wykres贸w.
Chodzi g艂贸wnie wykres dzienny ilo艣ci test贸w do ilo艣ci test贸w pozytywnych.
My艣l臋 偶e to bardzo wa偶na kwestia gdy偶 w ka偶dym innym kraju robi ich si臋 znacznie wi臋cej. My ju偶 po agregacji zrobili艣my dopiero te 5k, gdzie inne kraje w tym czasie mia艂y ju偶 ponad 30k. Skala jest ogromna...
W dodatku mo偶na pokusi膰 si臋 o warto艣ci procentowe powy偶szych danych tj ilo艣膰 ca艂o艣ci wykrytych do ca艂o艣ci test贸w.
My艣la艂em o czym艣 na wz贸r tego plus ilo艣膰 pozytywnych test贸w tj ilo艣膰 zaka偶onych per dzie艅.
When I see daily change chart, the only change which I can clearly see is new cases. putting deaths and cures in the same column as new cases is misleading, because at first glance I can see that the change was bigger than it really is.
I think that much better would be showing new cases, cures and deaths next to each other, or on separate daily change charts
It appears that you are using Openstreetmap tiles directly from [a/b/c].tile.openstreetmap.org which is (at least) discouraged by Tile Usage Policy. OSM Foundation tile servers are under heavy load recently (twitter post).
I would suggest manually downloading tiles (only for Poland, there are some ways to limit displaying other regions) for required zoom levels (6-11, according to Tile Calculator by Geofabrik, it shouldn't be more than 100 MB, or 35 MB if you limit to 6-10) and providing them on your own server (simple web server should be enough). These low zoom tiles aren't generated by OSM servers often, so there should be no major differences between catched-offline tiles and those from tile.osm.org
It was also pointed by one Openstreetmap contributor that on mobile chrome, the attribution is hidden and one has to scroll the page to see it. It appears that there is a problem with hiding top address bar or the webpage is too long.
By using Service Workers the page could look and feel as native app without creating native code.
While trying to setup the project locally I've faced the following error:
Error: clientAppId must be set to a non-empty string
Function.Stitch.initializeAppClient
src/core/Stitch.ts:115
Module../src/helpers/stitch.js
src/helpers/stitch.js:13
10 | REACT_APP_MONGO_DB_NAME,
11 | } = process.env;
12 |
> 13 | const client = Stitch.hasAppClient(REACT_APP_STITCH_APP_ID)
14 | ? Stitch.getAppClient(REACT_APP_STITCH_APP_ID)
15 | : Stitch.initializeAppClient(REACT_APP_STITCH_APP_ID);
16 |
I've added the following config into the .env
(on the root of the application):
REACT_APP_FIREBASE_API_KEY="AIzaSyCPS3X5r_4yRqpOzjA4C5VbhQJTF7Yix4U"
REACT_APP_FIREBASE_AUTH_DOMAIN="korona-ws.firebaseapp.com"
REACT_APP_FIREBASE_DATABASE_URL="https://korona-ws.firebaseio.com"
REACT_APP_FIREBASE_PROJECT_ID="korona-ws"
REACT_APP_FIREBASE_APP_ID="1:796612519278:web:615f751de390eb229acd7f"
REACT_APP_FIREBASE_MEASUREMENT_ID="G-ZMLEREM05R"
Maybe REACT_APP_STITCH_APP_ID
is missing on .env
and it's mandatoy?
Chart bars should be ordered by date.
Right now "Overall" cases the day 27/03 is between 29/03 and 31/03. Same goes for "Daily" cases chart bars.
After zoom in map there is no possible zoom it out. There is missing buttons for scaling map.
Please add cases by date graph (new/cumulative)
Hey guys, there are a lot of foreigners and expats in Poland and some of them don't know Polish. So I decided to take this initiative and add English version of the website using i18n tool. I'll send you the PR today, hope it will be useful.
I can see deltas for deaths, infections and cured people. How about the same deltas for other 3 (hidden) statistics (hospitalised, quarantined and the 3rd long one).
Such feature is offen requested (or provided in comments) on "Ministerstwo Zdrowia" twitter.
This video explains the problem: https://streamable.com/obesn
Hello,
It would be nice to have latest cases listing next to cities chart tab. Something like in the picture, latest cases on the top. Thanks to that, it would be easier to find new cases, because now you need to remember all numbers and old cases locations to notice a new one, or check every pin on the map to find a case with a latest date.
I wanted to prepare a pull request with suggested changes, but I'm not able to run the app on my local env due to following error:
Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values).
Hi all!
Currently the data is updated manually from MZ Twitter account. However, in the long run this approach is not effective.
I found the official website - https://www.gov.pl/web/koronawirus/wykaz-zarazen-koronawirusem-sars-cov-2 where we can get the data from automatically. Their data are a bit inconsistent though - there are cities specified in some cases, in others there are "powiaty".
There is one more source we scrap the data from - https://docs.google.com/spreadsheets/d/1ierEhD6gcq51HAm433knjnVwey4ZE5DCnu1bW7PRG3E/htmlview?usp=sharing&sle=true
Any thoughts?
Od niedawna ministerstwo zacz臋艂o poza liczb膮 test贸w przekazywa膰 liczb臋 przebadanych os贸b (https://twitter.com/MZ_GOV_PL/status/1255459314564808707?s=20), przyda艂oby si臋 dorzucenie tego do statystyk na stronie
Chart does not present the current amount of recovered people. It is somehow misleading because it shows number of deaths.
Looks like this project is dead :(
What do you think to make domain redirection to https://www.bing.com/covid/local/poland for example?
I have 95% GPU usage on this page
Consider adding link to https://docs.google.com/spreadsheets/d/1ierEhD6gcq51HAm433knjnVwey4ZE5DCnu1bW7PRG3E/htmlview?usp=sharing&sle=true# or maybe even reusing data.
Linked spreadsheet is not mine.
Given the fact that death ratio is expected to oscillate in range of 1-5 %, current visual indication of death ratio will soon become irrelevant and not informative. It would be nice to think of some different way to showcase this on the map. Some I can think about are:
Cenn膮 wizualizacj膮 by艂oby pokazanie ilo艣ci zdiagnozowanych zaka偶e艅 per dzie艅 na wykresie s艂upkowym. Lepiej mo偶na zaobserwowa膰 przyrost (zdiagnozowanych) zaka偶e艅.
Taki wykres linkuje tvn24 w swoich artyku艂ach:
https://public.flourish.studio/visualisation/1616542/?utm_source=showcase&utm_campaign=visualisation/1616542
Mo偶na go doda膰 jako tab obecnego wykresu w czasie:
PS: 艢wietna robota z t膮 map膮 - brawo dla wszystkich tw贸rc贸w
Would be nice to see how many cases are new based on region basis.
Hi,
I think it would be good idea to show the city on the map after you click on them in the "Cases/Potwierdzone przypadki" tab. Not everyone is aware when e.g "Be艂偶yce" are located on the map.
Cheers!
Exmetrix created an estimated course of the epidemic http://www.exmetrix.com/pl/uncategorized/9-tys-zakazen-i-wyrazne-zahamowanie-w-okolicy-15-kwietnia-prognoza-przebiegu-epidemii-koronawirusa-w-polsce-model-exmetrix/
I think you can show this estimation in the below diagram. Maybe it should be hidden by checkbox
Hi!
There is a bug reproducible only in Safari (mobile). If you click on tab "statystyki", the tabs are shrinking. I think it's related to the bug #62 - problem with flex-shrink.
dzienny wykres z dnia 30.03 zawiera blad bylo 254 nowych przypadkow a nie 193 jak wskazuje wykres.
zrodla:
https://twitter.com/MZ_GOV_PL/status/1245052138671214592
https://twitter.com/MZ_GOV_PL/status/1244686032966164480
It is well known that the virus can cause life-threatening illnesses which can lead to death. Are there any plans to add an information about fatality cases? I am willing to help so feel free to reach me out.
BTW thank you for this app. It is really helpful. Good job馃憦
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.