I prepared this analysis result a couple weeks ago but haven't published since we have been quite busy recently working on ecency. It's better to publish before i forget this small project ever existed :)
Analysis result is based on "location" field in account data.
Although not all users fill that field or some of them enter non-location text, the result provides a general overview.
Input
Data source comes from hivemind's db with query below:
SELECT location from hive_accounts where location != '';
Result dataset size was 249465 while i was working on the project.
Code
Project source code is here. It uses geopy and OpenStreetMap's Nominatim API for location detection from raw text.
You can see lots of caching mechanisms in code. Since it is a long running script, i didn't want to start over to data collection from zero every time it crashes or stalls.
It took almost 32 hours to complete it at background and extracted 234117 country out of raw dataset.
Result 🎉
Country | Count | Percent |
---|---|---|
🇺🇸 United States | 43051 | 18.39% |
🇻🇪 Venezuela, Bolivarian Republic of | 20380 | 8.71% |
🇮🇩 Indonesia | 18221 | 7.78% |
🇮🇳 India | 12047 | 5.15% |
🇳🇬 Nigeria | 9479 | 4.05% |
🇩🇪 Germany | 9051 | 3.87% |
🇬🇧 United Kingdom | 8816 | 3.77% |
🇰🇷 Korea, Republic of | 7443 | 3.18% |
🇨🇦 Canada | 7372 | 3.15% |
🇧🇩 Bangladesh | 6906 | 2.95% |
🇵🇠Philippines | 6496 | 2.77% |
🇦🇺 Australia | 4584 | 1.96% |
🇵🇰 Pakistan | 4454 | 1.90% |
🇹🇷 Turkey | 3455 | 1.48% |
🇫🇷 France | 3415 | 1.46% |
🇵🇱 Poland | 3313 | 1.42% |
🇨🇳 China | 2959 | 1.26% |
🇪🇸 Spain | 2749 | 1.17% |
🇳🇱 Netherlands | 2602 | 1.11% |
🇮🇹 Italy | 2459 | 1.05% |
🇧🇷 Brazil | 2253 | 0.96% |
🇷🇺 Russian Federation | 2249 | 0.96% |
🇲🇾 Malaysia | 2156 | 0.92% |
🇿🇦 South Africa | 2155 | 0.92% |
🇲🇽 Mexico | 2005 | 0.86% |
🇳🇿 New Zealand | 1990 | 0.85% |
🇨🇴 Colombia | 1872 | 0.80% |
🇩🇴 Dominican Republic | 1765 | 0.75% |
🇷🇴 Romania | 1639 | 0.70% |
🇻🇳 Viet Nam | 1425 | 0.61% |
🇯🇵 Japan | 1402 | 0.60% |
🇦🇷 Argentina | 1314 | 0.56% |
🇦🇹 Austria | 1255 | 0.54% |
🇹🇠Thailand | 1145 | 0.49% |
🇺🇦 Ukraine | 1135 | 0.48% |
🇨🇠Switzerland | 1110 | 0.47% |
🇬🇷 Greece | 1073 | 0.46% |
🇧🇪 Belgium | 931 | 0.40% |
🇵🇹 Portugal | 919 | 0.39% |
🇸🇪 Sweden | 912 | 0.39% |
Of course US in the top of the list. Surprisingly Venezuela is second. Also Turkey surprised me. It is quite top of the list. I didn't know that amount of users from my country around here.
Hive on!