An interactive visualization of the City of Philadelphia's Operating Budget
JavaScript HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.gitignore
LICENSE
README.md
gulpfile.js
package.json

README.md

Open Budget

This tool is an open source project built by the City of Philadelphia’s Office of Innovation and Technology, based on a project by OpenData.ch, the Swiss division of the Open Knowledge Foundation.

Setup

First, clone the repository and from within project directory install dependencies via:

$ npm install

Make your changes and view the application in its development at /src.

Note: to preview data visualization, browser preview requires running a local webserver

Build

Optimize the application by running:

$ npm run build

Commit

Commit the compiled site to master branch

$ git commit -a

This will update the files in the /dist directory. To push that directory to the gh-pages branch of the repo, use:

$ git subtree push --prefix dist origin gh-pages

Dependencies

  • Underscore.js
  • d3.js
  • Foundation 5
  • jQuery

Data Format

  • See the parent repo's Data Format documentation
  • We built a data transformer to go along with this and will be publishing the source code shortly