Coder Social home page Coder Social logo

chronocommit's Introduction

When do countries commit the most?

We took a week's worth of commits from the GitHub Archive and found out where they came from and when they were done. Countries are coloured based on how many commits were done, relative to the country's maximum commits per hour.

Data processing was completed with Python and SQLite. The visualisation uses Datamaps with support from AngularJS.

This visualisation was created as part of the Third Annual GitHub Data Challenge because GitHub is awesome and so are public data sets. We encourage you to poke around the code and contribute!

Check it out now.

Getting Up And Running

Clone the repository and run the following commands:

npm install
npm start

You should then have a service on http://localhost:8000/app/index.html

Processing the data

The quick-start instructions above use a generated JSON file for its data. To generate this data you'll need to use the Python processing backend:

mkdir data
cd data
wget http://data.githubarchive.org/2014-07-{01..08}-{0..23}.json.gz
cd ..
python setup.py

Updating the project page

A version of the visualisation lives on the ChronoCommit project page at http://asgardenterprises.github.io/ChronoCommit/); this mirrors the content of the gh-pages branch.

To update this, or replace current content:

  1. Gather all the client side code. Currently, this is the contents of /app.
  2. Ensure all the client side dependencies are present (e.g. bower install).
  3. Ensure an index.html file is available at the top level for GH to digest.
  4. Push the all the client side content to the gh-pages branch.
  5. Wait up to 10 minutes for the changes to manifest.

Pull requests function as normal, meaning updates by those without privileges can still be integrated.

chronocommit's People

Contributors

jonnyarnold avatar kadikraman avatar

Watchers

James Cloos avatar Dave Allen avatar  avatar Asgard avatar

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.