/nvd3-dash

Showcasing the use of nvd3

Primary LanguageJavaScriptMIT LicenseMIT

Nvd3-dash

This project uses the AngularJS implementation of the RDash admin dashboard and angular-nvd3 directive to demonstrate the use of D3.js with AngularJS. Under the hood the angular-nvd3 directive uses NVD3.js.

alt text

Requirements

Installation

  1. Clone this repository: git clone https://github.com/ksiabani/nvd3-dash.git
  2. Install the NodeJS dependencies: npm install.
  3. Install the Bower dependencies: bower install.
  4. Run the gulp build task: gulp build. This, when done, will create a distribution folder dist.
  5. Run the gulp default task: gulp. This will build any changes made automatically, and also run a live reload server on http://localhost:8888.

Development

Continue developing the dashboard further by editing the src directory. With the gulp command, any file changes made will automatically be compiled into the specific location within the dist directory.

Deploy to GitHub Pages

To deploy to GitHub Pages run gulp deploy. It will create a new branch gh-pages to your remote repository and push the dist folder.

Modules & Packages

License

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.