git clone [email protected]:vlandham/vis.git cd vis
git checkout -b interesting_new_bar_chart
You can start up a local webserver by using python’s simple server:
python -m SimpleHTTTPServer -p 3000
or thin
in ruby
thin start # might have to run 'bundle install' first
Now go to http://0.0.0.0:3000
and you have a basic visualization
Open up coffee/vis.coffee
and start modifying the built in visualization to fit your needs.
/
- main vis area
/index.html
- main page for your visualization. Loads coffeescript and javascript files.
/coffee/
- coffeescript files. Example
vis.coffee
.
- coffeescript files. Example
/data/
- data dump for
.csv
and.json
files and other data files your vis uses.
- data dump for
/js/
- javascript goes here. JS Libraries in
libs
directory
- javascript goes here. JS Libraries in
/css/
- put your stylesheets in here
/img/
- put your images in here
/tools/
- put your helper scripts / data manipulation tools here
To startup the server, you either need python
, or a bunch of ruby
gems (should be simplified in the future).
Run bundle install
to get the gems needed. Gems listed in the Gemfile
- 2.2.1
- 3.0.2
- 2.1.0
- 1.4.0
- 1.7.2
- 0.4 beta