Using GitHub Stargazers Distribution to Compare React, Angular and Vue

In the recent years, the most popular JavaScript Front-end frameworks should be React, Angular and Vue.

On GitHub, their stargazers are

On Stack Overflow, if we use keyword results to compare

The keyword search is not accurate because there are many cases, such as react, vue etc. But this simple comparison can give you some hint, the users of a framework may not be uniform in the world. Maybe the users of a framework like to use other forums, not Stack Overflow? Maybe the user distribution is country related/bias? Let’s start the Analytics

Analytics steps:

  1. Use Google Maps Geocoding API to get the exact country information from the location field of each stargazer which is arbitrarily written by users.
  2. Use Plotly to draw bar charts to compare.

The related analysis source code, data and detailed steps are on GitHub

Comparison of data and charts

Since some people’s location can not be identified by Google API, e.g. location: ∆∆∆, so the respective number of invalid location are 550, 545, 197.

Final Chart

Countries

React: China users (12033: 20.2%) < US users (14193, 23.8%)

Vue: US users (8263, 16%)< China users (15836: 30.7%)

Angular: China users (1776, 8.1%) < US users (4049, 18.5%)

Conclusion

Other consideration/comparison

https://medium.com/unicorn-supplies/angular-vs-react-vs-vue-a-2017-comparison-c5c52d620176

Written by

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store