<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/"></div></div><div><a data-url="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/" data-counturl="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/" data-count="horizontal" data-text="Analysis of software developers in New York, San Francisco, London and Bangalore" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://varianceexplained.org/r/developers-cities/"> Variance Explained</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><em>(Note: Cross-posted <a target="_blank" rel="nofollow" href="http://stackoverflow.blog/2016/11/How-Do-Developers-in-New-York-San-Francisco-London-and-Bangalore-Differ/">with the Stack Overflow Blog</a>.)</em></p>
<p>When I tell someone Stack Overflow is based in New York City, they’re often surprised: many people assume it’s in San Francisco. (I’ve even seen job applications with “I’m in New York but willing to relocate to San Francisco” in the cover letter.) San Francisco is a safe guess of where an American tech company might be located: it’s in the heart of Silicon Valley, near the headquarters of tech giants such as Apple, Google, and Facebook. But New York has a rich startup ecosystem as well- and it’s <a target="_blank" rel="nofollow" href="http://www.businessinsider.com/difference-between-nyc-and-sf-tech-scene-2016-7">a very different world</a> from San Francisco, with developers who use different languages and technologies.</p>
<p>On the Stack Overflow data team we don’t have to hypothesize about where developers are and what they use: we can measure it! By analyzing our traffic, we have a bird’s eye view of who visits Stack Overflow, and what technologies they’re working on. As the first in a series of upcoming analyses of Stack Overflow data, here we’ll show some examples of what we can detect about software developers in each major city.</p>
<p><img alt="" src="https://i0.wp.com/varianceexplained.org/figs/2016-12-01-developers-cities/biggest_cities_graph-1.png?w=456" data-recalc-dims="1"></p>
<p>In this post we’re going to focus on the four cities that visit Stack Overflow the most: San Francisco, Bangalore, London, and New York.<sup><a target="_blank" rel="nofollow" href="http://varianceexplained.org/r/developers-cities/#fn:fiftymiles">1</a></sup></p>
<p>(The data used in this post is private within the company, but if you’re curious how it was generated you can find the code <a target="_blank" rel="nofollow" href="https://github.com/dgrtwo/dgrtwo.github.com/blob/master/_R/2016-12-01-developers-cities.Rmd">here</a>).</p>
<h3>San Francisco vs New York</h3>
<p>First we’ll compare the two most popular American cities for software development: San Francisco and New York.</p>
<p>When developers are using a programming language or technology, they typically visit questions related to it. So based on how much traffic goes to questions tagged with Python, or Javascript, we can estimate what fraction of a city’s software development takes place in that language.</p>
<p><img alt="" src="https://i2.wp.com/varianceexplained.org/figs/2016-12-01-developers-cities/top_10_barplot-1.png?w=456" data-recalc-dims="1"></p>
<p>For example, there were 187 million question views from San Francisco in the last year, and we can see that 10.3% of these visits were to questions with the Python tag, compared to 12.8% of New York’s traffic.</p>
<p>Most of these common technologies look like they make up a fairly similar fraction of NY and SF traffic, but we’re interested in stark differences. What tags (among the 200 most high-traffic tags) showed the largest difference between San Francisco and New York?</p>
<p><img alt="" src="https://i0.wp.com/varianceexplained.org/figs/2016-12-01-developers-cities/ny_sf_compare_plot-1.png?w=456" data-recalc-dims="1"></p>
<p>One clear difference: New York has a larger share of Microsoft developers. Many tags important in the Microsoft technology stack, such as C#, .NET, SQL Server, and VB.NET, had about twice as much traffic in New York as in San Francisco. This may be because many banks and financial firms, which are much more common in NY than in SF, use these technologies.</p>
<p>There are also patterns in the technologies that are more common in the San Francisco area, especially languages developed by Apple (Cocoa, Objective-C, OSX) and Google (Go, Android). We can also see several influential open source projects, especially ones associated with Apache (Hive, Hadoop, Spark).</p>
<p>Rather than looking only at the most dramatic changes, we could visualize the SF/NY ratio compared to the total visits:</p>
<p><img alt="" src="https://i2.wp.com/varianceexplained.org/figs/2016-12-01-developers-cities/ny_sf_compare_scatter-1.png?w=456" data-recalc-dims="1"></p>
<p>This confirms that C# (in NY) and Android (in SF) stand out as the highest traffic tags that show different behavior, with tags such as Excel, VBA, Cocoa, and Go showing more even dramatic differences. Meanwhile, the Java tag has about the same level of traffic in each city, as do several “language agnostic” tags such as “string”, “regex”, and “performance”.</p>
<h3>New York, San Francisco, Bangalore, and London</h3>
<p>Let’s expand the story to include Bangalore, India, and London, England. Together these four cities make up 11.1% of all Stack Overflow traffic.</p>
<p>Each of these cities is the “capital” of particular tags, visiting them more than the other three cities do. Which tags does each city lead in?</p>
<p><img alt="" src="https://i0.wp.com/varianceexplained.org/figs/2016-12-01-developers-cities/compare_four_cities-1.png?w=456" data-recalc-dims="1"></p>
<p>This fills out more of our story:</p>
<ul>
<li><strong>London has the highest percentage of developers using the Microsoft stack</strong>: while New York had more Microsoft-related traffic than San Francisco, here we see London with a still greater proportion. Since both London and New York are financial hubs, this suggests we were right that Microsoft technologies tend to be associated with financial professionals.</li>
<li><strong>New York leads in several data analysis tools</strong>, including pandas (a Python data science library) and R. This is probably due to a combination of finance, academic research, and data science at tech companies. It’s not a huge lead, but as an R user in New York I’m still personally happy to see it!</li>
<li><strong>Bangalore has the most Android development</strong>, with two to three times as much traffic to Android-related tags as the other three cities. Bangalore is sometimes called the <a target="_blank" rel="nofollow" href="http://www.nytimes.com/2006/03/20/business/worldbusiness/is-the-next-silicon-valley-taking-root-in-bangalore.html">“Silicon Valley of India”</a> for its thriving software export industry, with <a target="_blank" rel="nofollow" href="http://247wallst.com/apps-software/2016/11/18/where-do-all-those-mobile-apps-come-from/">Android development</a> playing the largest role.</li>
<li><strong>San Francisco leads in the same technologies as it did in the comparison with New York</strong> (except for Android). In particular (thanks to Mountain View), it’s indisputably the “Go capital of the world.” (This is true even if we look at the 50 highest-traffic cities rather than just the top 4).</li>
</ul>
<p>This portrait of four major developer hubs is is just one of many ways Stack Overflow traffic can tell us about the global software engineering ecosystem. Whether you want to understand developers, hire them, engage them, or make your own developers more efficient, we have solutions to help you solve your problems. Check out <a target="_blank" rel="nofollow" href="https://business.stackoverflow.com/research/learn-more">Developer Insights</a> to learn more.</p>
<div>
<ol>
<li>
<p>In this analysis, we counted all traffic within 50 miles of a city: this means San Francisco includes a larger part of the “Bay Area”, such as Mountain View and Cupertino. <a target="_blank" rel="nofollow" href="http://varianceexplained.org/r/developers-cities/#fnref:fiftymiles">↩</a></p>
</li>
</ol>
</div>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/"></div></div><div><a data-url="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/" data-counturl="https://www.r-bloggers.com/analysis-of-software-developers-in-new-york-san-francisco-london-and-bangalore/" data-count="vertical" data-text="Analysis of software developers in New York, San Francisco, London and Bangalore" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://varianceexplained.org/r/developers-cities/"> Variance Explained</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/zxTKwNsJFU8"></a></div>