xunhuang / covid-19

MIT License
17 stars 16 forks source link

WORLD: Meta #121

Open xunhuang opened 4 years ago

xunhuang commented 4 years ago

Geo: let's use the Google geolocate to make it work for now. Projections: Wilson will insert MIT projection data into the WorldData.json Snorri will compute the SIR model for all places. Last update time: wilson will inject it into the model Comments: ditch FB comment and only use disqus testing and hospitalization data: wilson to see where to find them. no blocker Biaxial graphs: I think it's hard to read for N-lines, but for 2 lines it's ok. :) love to have that for hand curated graphs. Growth graph: that can wait. it's essentially to the same as doubling. doubling goes to infinity, and growth goes to zero. Growth of zero is easier to understand than "doubling to infinity" for nontechnical person. Resources and news: not important for the ROW. Metro: while that is less relevant to the world, but what about "regions" for the world like South East Asia, Africa. Map: I'm super excited about the world map with the slider. I guess I will do it. :)

cc: @aschleck

tumbleshack commented 4 years ago

@xunhuang would it be helpful if I added asking the user for their location to the “find my location” button; it could be integrated here as well?

xunhuang commented 4 years ago

@xunhuang would it be helpful if I added asking the user for their location to the “find my location” button; it could be integrated here as well?

see this: https://yumyum.life/ click on the "Nearby", this is how it envision it work. (added you to that project so you can read the src if you want. )

That said, I still want to be able land user directly into the own country even if they do nothing.

xunhuang commented 4 years ago

@aschleck mentioned that one of geoip partner is supposedly free for non-profit, I don't know if we would qualify for a non-profit (even though we are not for profit). that said, that site I can't even pay for it even if I wanted to. https://ipdata.co/sign-in.html, Dashboard coming soon, but it never did.

aschleck commented 4 years ago

Oops I meant it's free for non-commercial, so I think we'd qualify for https://ip-api.com/ . But using Google sounds good and easy for now.

@tumbleshack if you want to add Geo that sounds good! But can you add an icon into the search box (on the right like this GMaps example from the Material UI text fields docs)? Maybe there's a Material icon we can use? Screenshot_20200509-145822

tumbleshack commented 4 years ago

@xunhuang cool, I'll use Google API by default, and fine-tune with the shared location if granted?

@aschleck Sure thing, that'd look great

aschleck commented 4 years ago

LocationSearchingIcon from MUI is what I had in mind

xunhuang commented 4 years ago

@xunhuang cool, I'll use Google API by default, and fine-tune with the shared location if granted?

Sounds good.

@aschleck , 1) Line/Area - Is that important to keep? pretty much the same info. 2) I see the British territories are flattened out onto the top level, is that intentional? (like British virgin island, Falklands islands etc)

aschleck commented 4 years ago

1) no not important. I added it because it was on the main site and it seemed fun to figure out how to support, but I agree it's basically useless 2) I aligned with ISO 3166 codes, and BVI is not under GB for that (same with Falkland Islands.) I think there were some for France that had both two letter country codes and FR- codes, I think I arbitrarily picked the two letter country codes. I have no political motivation on it and don't really care, I just wanted to stick with canonical IDs to try and avoid future pain.

xunhuang commented 4 years ago

Feature request for Advance Graphs 1) Date range slider 2) adjust date range when a series is turned off image

3) small # on labels of y-axis: image

4) a title for a graph? should it be done at the wrapper of chart?

xunhuang commented 4 years ago

here is the rough plan on this:

1) I will pull in the IHME projection into the data model. don't like the MIT number without error band. 2) I will tweak each of the graph for make them mirror to the US site, following the One-graph rule them all strategy, hopefully. 3) I will then tweak the look and feel of the graphs like spacing, axis etc.

xunhuang commented 4 years ago

I kinda miss the old sticky header on the US site, as we scroll up, we loose context on which country we are staring at.

image