https://github.com/rmosolgo/datavore-bars
https://github.com/rmosolgo/datavore-bars
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rmosolgo/datavore-bars
- Owner: rmosolgo
- Created: 2013-03-03T22:58:55.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-18T18:02:51.000Z (almost 13 years ago)
- Last Synced: 2024-12-28T03:42:55.571Z (about 1 year ago)
- Language: CoffeeScript
- Size: 11.4 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Datavore-bars
Datavore bars is a configurable plug-in for graphing data. It takes a CSV and creates a simple dashboard.
It runs on:
- [Datavore](http://vis.stanford.edu/projects/datavore/) for data management
- [D3](d3js.org) for the dashboard vis
- [Finch](http://stoodder.github.com/finchjs) for RESTful URLs
- Underscore.js for a little bit of data manipulation
- jQuery
- Bootstrap (via Bootswatch)
- LESS
- CoffeeScript
## Configuration
To configure, alter `App.config` values found in config.coffee. See comments in the source for details.
### Display:
__App.config.chart_title__ and __App.config.chart_longer_title__ give names for the dashboard and loading overlay.
__App.config.now_showing__ is a function that turns your columns into a sentence in the top left corner.
### Data:
__App.config.data.file__ is the path to the CSV to load.
__App.config.data.columns__ is an array of objects which are fed to Datavore to create filters and values. Each one also has functions for creating the `now_showing` blurb.
__App.config.data.preprocessing_function__ affects the CSV before it's imported into the app.