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.
- Clone this repository:
git clone https://github.com/ksiabani/nvd3-dash.git
- Install the NodeJS dependencies:
npm install
. - Install the Bower dependencies:
bower install
. - Run the gulp build task:
gulp build
. This, when done, will create a distribution folderdist
. - Run the gulp default task:
gulp
. This will build any changes made automatically, and also run a live reload server on http://localhost:8888.
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.
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.
- Admin template powered by RDash rdash-ui
- Bootstrap components written in AngularJS with UI Bootstrap
- Routing with AngularUI Router
- Fonts by Font Awesome
- Integration of NVD3 and D3.js with angular-nvd3 directive
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.