GithubHelp home page GithubHelp logo

imclab / github_globe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaasen/github_globe

1.0 1.0 1.0 1.36 MB

A visualization of GitHub users throughout the globe

Home Page: http://aasen.in/github_globe/

License: GNU General Public License v3.0

github_globe's Introduction

Github Globe

This is a little visualization of Github users throughout the world. Check out an interactive version at http://aasen.in/github_globe

github users plotted on a globe

Creating the Visualization

All data is provided by GitHub Archive and fetched via Google BigQuery.

Locations are provided by approximately 1 million of the 4 million GitHub users. They are written in an informal syntax with varying specificity. For example, Seattle, Seattle, WA and United States are all valid.

The 1,000 most common locations are passed through the Google Geocoding API and transformed into geographical coordinates.

Data is then grouped by coordinates, so San Francisco, San Francisco, CA, and San Fran are combined.

Finally, data is plotted on the WebGL Globe.

Anatomy of the Repo

All queries are stored in master/fetch.

Code to transform the data is in master/transform.

The visualization and WebGL globe are stored in the gh-pages branch.

Problems

One problem is that locations vary in specificity. Many people report only their country and leave out states, cities, and other identifiers.

To solve this, I could calculate the specificity of an address and leave out any broad locations like China, America, and California. However, since this would skew the data I decided not to. If you disagree, fork it!

github_globe's People

Contributors

aaasen avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

web5design

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.