makerdao / commdev-grants-transparency-dashboard

commdev-grants-transparency-dashboard-six.vercel.app
GNU Affero General Public License v3.0
2 stars 5 forks source link

Implement countries data in Meetup page #25

Closed as-dr closed 4 years ago

as-dr commented 4 years ago

To Do

    • [x] Add up meetup country data into regions (North America, South America, Europe, Africa, Asia, Oceania)
    • [x] Add those country numbers to a Meetup-specific "regions" data object
    • [x] Import the "country" region into the Meetups page and display at at the top of the list of Stats (refer to reference)

Reference

image

as-dr commented 4 years ago

@amy-jung Here's an alternative approach where the country container doesn't overflow, so you can see all the countries at once. Think this can work too, since there's less data on this page. image

amy-jung commented 4 years ago

Yup it looks good!

MaximumCrash commented 4 years ago

@as-dr @amy-jung Question, since the countryMeetupCounts data is more fleshed out (by country and not by region) I think it may be tedious to render them as individual cards like we do on the grants page (especially since there are 33 countries. Would you still want to list them all in a similar fashion or would you prefer a more elegant solution (like this: https://nivo.rocks/choropleth/)? Lemme know your thoughts.

as-dr commented 4 years ago

I was thinking of just adding them all up by region per the first to-do. It’s tedious but shouldn’t take more than 30 mins. My concern with that geo map addon is that it doesn’t appear to visualize the data without hovering over it, and also the responsiveness of the map itself.

On Wed, Apr 22 2020 at 3:27 pm, Réjon Taylor-Foster < notifications@github.com > wrote:

@as-dr ( https://github.com/as-dr ) Question, since the countryMeetupCounts data is more fleshed out (by country and not by region) I think it may be tedious to render them as individual cards like we do on the grants page (especially since there are 33 countries. I'd suggest a geo map like this https://nivo.rocks/choropleth/ lemme know your thoughts.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/makerdao/commdev-grants-transparency-dashboard/issues/25#issuecomment-617951787 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/ABTZG3RRO67SUYAR2N277ZLRN4ZJBANCNFSM4MOCGEGA ).

MaximumCrash commented 4 years ago

@as-dr Sounds like a plan

as-dr commented 4 years ago

North America

14

Canada | 1 Mexico | 3 USA | 10

South America

19

Argentina | 11 Brazil | 1 Chile | 1 Colombia | 4 Ecuador | 1 Honduras | 1

Africa

34

Ghana | 17 Nigeria | 7 Tanzania | 2 Uganda | 8

Europe

19

England | 2 France | 2 Germany | 1 Greece | 2 Netherlands | 1 Norway | 1 Serbia | 1 Slovakia | 2 Slovenia | 1 Spain | 4 Switzerland | 1 Turkey | 1

Asia

8

China | 1 Armenia | 1 Kuwait | 1 Indonesia | 1 Qatar | 1 Thailand | 3

Oceania

5

Australia | 1 Philippines | 4