Skip to content

suninthesky/slice-and-dice

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Slice and Dice

About

This tool was created in my spare time as a submission to the 360Giving Data Visualisation Challenge, in answer to the question "Who has funded what themes throughout the years".

It allows you to take the URL of a search on GrantNav, and visually slice it up by dimensions such as Year or Location.

Local setup

  1. Install npm
  2. Install Jekyll

Development

npm start will start Jekyll development server and Webpack in --watch mode.

Deployment

Use npm run build to generate static files and push to master branch.

Known issues

  • CORS - In order to handle CORS client-side a proxy server is being used to set the Access-Control-Allow-Origin: * response HTTP header from GrantNav (via the proxy).
  • Label overlapping - A crude approach is being used to avoid chart labels overlapping.
  • 'Slice by' lost on resize - Resizing the chart reverts the slice param to the one set on initial page load.

Contributing

First of all, thank you for your help!

Be sure to check out the projects open issues to see where help is needed.

Bugs

If you've spotted a bug please file an issue. Even better, submit a pull request (details below) with a patch.

Features

If you want a feature added, the best way to get it done is to submit a pull request that implements it...

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a pull request

Alternatively you can submit an issue describing the feature.

License

Slice and Dice is released under the MIT License.