• Stars
    star
    174
  • Rank 219,047 (Top 5 %)
  • Language
    F#
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

βœ’οΈ The Gamma lets anyone create transparent and open data visualizations that are linked to the original data source and encourages the reader to further explore data.

The Gamma: Tools for open data-driven storytelling

Build status

The Gamma logo

The Gamma is a simple JavaScript library that lets anyone create transparent and open data visualizations that are linked to the original data source and encourage the reader to further explore data and find interesting facts on their own.

The Gamma implements a scripting language with spreadsheet-inspired tooling that runs in the browser and lets users perform simple data aggregation and exploration. The package lets you run The Gamma scripts and provides a rich web-based editor that you can embed on your site.

The Gamma in action

The Gamma script

The core of The Gamma project is a simple scripting langauge that makes it easy to write code to perform data aggregation and data exploration. For example, if you want to find the top 8 athletes by the number of gold medals from Rio 2016, you can write:

olympics
  .'filter data'.'Games is'.'Rio (2016)'.then
  .'group data'.'by Athlete'.'sum Gold'.then
  .'sort data'.'by Gold descending'.then
  .'paging'.take(8)
  .'get the data'

Rich tooling is available when writing code using The Gamma web-based editor and so you get auto-completion for available operations when typing ., you can see a live preview of the transformed data and you can even modify the code using a simple user interface.

Documentation

The full project documentation is available on thegamma.net web site:

Credits and license

The Gamma is built at The Alan Turing Institute and has been supported through the Google Digitial News Initiative. It is available as open-source using the permissive MIT license. This means that you are welcome to contribute, modify the project as you wish and use it commercially without restrictions.

More Repositories

1

thegamma-fsharp-prototype

πŸ’Ύ Archived prototype of The Gamma project which used the F# language with an F# Compiler Service running on the server & FunScript for JavaScript compilation. Includes various sample World Bank visualizations.
JavaScript
26
star
2

thegamma-services

πŸ” Data services that provide data for The Gamma project. The repository includes data on Olympic medals (exposed as a service) and Pivot service (which powers the grouping, aggregation etc..)
F#
15
star
3

thegamma-olympics-web

πŸ’Ύ Source code for the Visualizing Olympic Medalists web application, including standard sample visualizations (see docs). This is a simple Suave server that serves the page and includes latest JavaScript as a static file.
JavaScript
9
star
4

thegamma-publications

🌍 Academic publications about The Gamma project. This includes the Computation+Journalism 2015 paper and ECOOP 2017 paper on the pivot type provider with supporting materials and occasionally other assorted work-in-progress writing. Not particularly organised and contributor friendly...
TeX
8
star
5

thegamma

πŸ‘» Repository for general discussion about the project. Start here if you want to open an issue, but you're not sure where it should go! Also used for tracking work in Projects.
5
star
6

thegamma-sample-web

πŸ” Minimal web application hosting The Gamma script and editor. This is an easy to use example showing all the important features. The web site is a minimal node.js project for simplicity.
HTML
4
star
7

suave-service-template

Minimal Suave template with infrastructure for creating The Gamma REST services
F#
2
star
8

workyard

πŸ‘» Assorted scripts and other things. Includes work-in-progress web scraper, data extraction for Olympic medalists (linking The Guardian and BBC data) and other random things.
F#
2
star
9

rest-services

F#
2
star
10

gallery-web

πŸ“š The easiest way to create and share your open and transparent data visualizations created using The Gamma. The site also lets you import custom CSV files into The Gamma.
HTML
2
star
11

gallery-csv-service

πŸ“š Service for The Gamma Gallery that lets people upload CSV files to blob storage, implements Pivot provider source for querying CSV files and REST provider listing the files.
F#
2
star
12

the-gamma.github.io

🌍 Static landing page for The Gamma projects with links for the Olympic visualizations project, The Gamma gallery where you can easily create and share snippets and earlier World Bank Carbon prototypes.
JavaScript
1
star
13

govuk-data-import

🏦 Scripts for importing data from the UK Open Government data portal. For now, the scripts can import air quality, traffic and house price data.
F#
1
star
14

graph-service

Graph-Service to allow The Gamma to handle neo4j graph databases
JavaScript
1
star