8 of 13 Used the official name of Stack Overflow - see section "Proper Use of the Stack Exchange Name" in http://stackoverflow.com/legal/trademark-guidance (the last section), etc.

Where in the world do Stack Overflow users say they are from?

I wanted to find out more about where in the world Stack Overflow users come from, so I decided to do a little data mining. Unfortunately, because the "Location" field on the user profile has no regular format, this proved to be a much more tedious process than I expected. I tried using some clever regular expressions, but they always had way too many false positives, so I ended up sanitizing all the data by hand. To make it a little easier for me, I only looked at users with rep >= 1000.

Data retrieved from StatOverflow sandbox on 2009-10-05 (September 2009 data dump) for users with rep >= 1000.

Full data can be viewed as Google Docs spreadsheet or downloaded in Excel format. (There are multiple tabs in the spreadsheet!)


Overview in charts

Worldwide

http://chart.apis.google.com/chart?cht=t&chs=440x220&chco=FFFFFF,FFCCCC,FF1111,FF0000&chf=bg,s,AACCFF&chtm=world&chld=USGBCAAUDENLSEINFRILNZNOBEPLDKCHIEBRATRUFIITROZAJPESTRARGRPTCZHUMXSGUASIRSCNMYTHBGEELTPKSKCLEGHKPHISLVMTAMCODOHNHRIDIQIRLBPETWBDBMCGCIGTIMKEKHKRKWLKMAMDMKPYQASASYTNTTUYVEVN&chd=s:9SIGFDDCCCCCBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Europe

http://chart.apis.google.com/chart?cht=t&chs=440x220&chco=FFFFFF,FFCCCC,FF1111,FF0000&chf=bg,s,AACCFF&chtm=europe&chld=GBDENLSEFRNOBEPLDKCHIEATRUFIITROESTRGRPTCZHUUASIRSBGEELTSKISLVMTAMHRIRIQCIIMMKMDMASYTN&chd=s:9QLJHFFFEEEDDDDDCCBBBBBBBBBBBAAAAAAAAAAAAAA

United States

http://chart.apis.google.com/chart?cht=t&chs=380x220&chco=FFFFFF,FFCCCC,FF0000&chf=bg,s,AACCFF&chtm=usa&chld=CANYWATXPAFLMAILOHCOVAGANCMIORMNNJINWIMDMOAZUTDEDCARKYTNCTIASCALNEIDKSNVMEOKVTLANHRIAKNMWVHIMSMTSDNDPR&chd=s:9ifZTPPPNMMKKKJIIIIHHHFFFEEEEEDDDCCCCCCBBBBBBBBBBAA


Users by continent

Note: In my categorizing, every country belonged to exactly one continent. This means all of Turkey was categorized as Asia; Puerto Rico and Hawaii were categorized as North America; and all of Russia was categorized as Europe. There were some gray areas: I categorized Taiwan and Indonesia as Asia, and Iceland as Europe. But I categorized the Philippines, New Zealand, and Carribean island nations as non-continental.

Users  Percent  Continent
---------------------------------
2065    51.10%  North America
1428    35.34%  Europe
213      5.27%  Asia
189      4.68%  Australia
56       1.39%  South America
56       1.39%  (non-continental)
33       0.82%  Africa
1        0.02%  Antarctica

Users by country (top 20)

Note: There were a few cases where the country wasn't clear. A lot of people left two-character abbreviations for their location, using either top-level domain country codes or USPS state abbreviations. These two collide in some cases: 30 users with location "CA" (California or Canada?), 28 with "DE" (Deleware or Germany?), and 8 with "IN" (Indiana or India?). In these cases I split the users evenly between the two possibilities. In some other cases, only a city name was provided, when more than one city with that name exists (e.g. "St. Petersburg"). In those situations, I took the one that was obviously the larger city. If it wasn't obvious to me, I took the one with the top Google hit.

Users  Percent  Country
------------------------------
1807    44.83%  United States
538     13.35%  United Kingdom
243      6.03%  Canada
189      4.69%  Australia
142      3.52%  Germany
95       2.36%  Netherlands
83       2.06%  Sweden
69       1.71%  India
64       1.59%  France
50       1.24%  Israel
48       1.19%  New Zealand
46       1.14%  Norway
41       1.02%  Belgium
41       1.02%  Poland
39       0.97%  Denmark
35       0.87%  Switzerland
33       0.82%  Ireland
31       0.77%  Brazil
29       0.72%  Austria
28       0.69%  Russia

Users by state/province/territory/(whatever subnational entities in the UK are called)

Note: if a user only specified a city, I filled in the state/country. I only did this for the countries that I knew something about (and I regretted doing this for the UK, because half the time I had to look up where the town was because only "town, UK" was given). The "unspecified" responses here indicate that the user only indicated what country they lived in, but not the city or state.

United States (top 20)

Users  Percent  State/Province
------------------------------
402     22.25%  (unspecified)
209     11.57%  CA
118      6.53%  NY
107      5.92%  WA
85       4.70%  TX
64       3.54%  PA
53       2.93%  FL
53       2.93%  MA
51       2.82%  IL
45       2.49%  OH
40       2.21%  CO
40       2.21%  VA
35       1.94%  GA
35       1.94%  NC
34       1.88%  MI
30       1.66%  OR
29       1.60%  MN
29       1.60%  NJ
27       1.49%  IN
27       1.49%  WI
25       1.38%  MD

Canada

Users  Percent  State/Province
------------------------------
75      30.86%  ON
66      27.16%  (unspecified)
42      17.28%  BC
23       9.47%  QC
22       9.05%  AB
4        1.65%  SK
3        1.23%  NB
3        1.23%  NS
3        1.23%  PE
1        0.41%  MB
1        0.41%  YT

United Kingdom

Users  Percent  State/Province
------------------------------
273     50.74%  England
225     41.82%  (unspecified)
32       5.95%  Scotland
6        1.12%  Wales
2        0.37%  Northern Ireland

Australia

Users  Percent  State/Province
------------------------------
67      35.45%  (unspecified)
42      22.22%  NSW
34      17.99%  VIC
23      12.17%  QLD
15       7.94%  WA
7        3.70%  SA
1        0.53%  ACT

Users by city (top 20)

Users  Percent  City           St/Prov  Country
------------------------------------------------------
113      5.13%  London         England  United Kingdom
52       2.36%  Seattle        WA       United States
38       1.73%  Sydney         NSW      Australia
35       1.59%  San Francisco  CA       United States
35       1.59%  Chicago        IL       United States
35       1.59%  New York City  NY       United States
33       1.50%  Melbourne      VIC      Australia
32       1.45%  Toronto        ON       Canada
28       1.27%  Austin         TX       United States
24       1.09%  Vancouver      BC       Canada
24       1.09%  Boston         MA       United States
23       1.04%  Paris                   France
22       1.00%  Atlanta        GA       United States
21       0.95%  Brisbane       QLD      Australia
21       0.95%  Philadelphia   PA       United States
20       0.91%  Portland       OR       United States
19       0.86%  Montréal       QC       Canada
19       0.86%  Berlin                  Germany
17       0.77%  Los Angeles    CA       United States
17       0.77%  Dallas         TX       United States

Again, the full versions of each of these lists (not just the top 20) is in the Google Docs spreadsheet (there are multiple tabs).


Just for TXI

http://img123.imageshack.us/img123/4296/freehando.png