Restructuring of spending-map loader. Everything moved into a seperate function which is called on initialisation.
Made svg graph id a variable as well and moved the svg configurations into a an object parameter (instead of separate parameters).

Also used the opportunity to remove underscore from parameter names (decided I didn't like it)
Switch to html5 data attributes on dom elements to get choropleth map configuration.
Re-restructuring. Moved everything into a jQuery extended function. We can now create choropleth maps dynamically by callings something like $(domidentifier).choropleth()

We will need to look into a more standard way of doing things like this.
Removed hard coded svg key from map
For on click behaviour I also remove the hard coded svg key + a minor code structure tweak
Added a request for json with padding in the ajax call to allow other sites to use the choropleth map. This renders the click behaviour useless (since it tries to update listing from the local instance).
Added more configurations, data objects (list), data label, data impact. This has become quite a beast. Needs simplification.
Better handling of options with default being the front page openspending choropleth.
There are two ways to overwrite the default values, either by using the html5 data attributes or by passing in options in a javascript call (which takes higher precedence than the html5 data attributes).
A proposed fix for openspending/#509 issue on github (choropleth map viewer).
This is only the viewer, the comments on openspending/#509 also talks about map uploader. This should be a very configurable choropleth map creator where the svg map can come from anywhere.
Removed 'flash'
Merge branch 'openspending-522-budget-vs-transaction-map' into build-process
Copied choropleth map into src/ folder, added a license and switched to shorthand version for self-invoking function
Rename data attribute impact to intensity
Add README to document visualisations (first documented is the choropleth map)
Added a short introduction to the README
Added default application of choropleth explanation to README
Added Gruntfile.js with a build process (concat -> uglify). This creates both non-minified and minified versions of openspendingjs in dist (marked by version number). Cleaned up devdependencies in package.json (since it's probably not used)
Contributors, license and more informational readme (explaining src directory and openspendingjs dev conventions).
Also added a list of requirements to openspending.choropleth.js
Clean up chroma dependency