https://github.com/twilightcoders/nvd3-rails
https://github.com/twilightcoders/nvd3-rails
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/twilightcoders/nvd3-rails
- Owner: TwilightCoders
- License: mit
- Created: 2014-03-11T17:04:55.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-11T17:05:51.000Z (over 12 years ago)
- Last Synced: 2025-01-12T11:20:41.385Z (over 1 year ago)
- Language: JavaScript
- Size: 285 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# nvd3-rails
[NVD3](http://nvd3.org) is an attempt to build re-usable charts and chart components for [d3.js](http://d3js.org) without taking away the power that d3.js gives you.
nvd3-rails provides NVD3 for Rails 3.1 and higher.
## Version
nvd3-rails comes with version 1.1.15b of NVD3 and will mirror the version of NVD3 it comes with.
## Installation
Add this line to your `Gemfile`:
gem "nvd3-rails", github: 'TwilightCoders/nvd3-rails.git'
Please note that NVD3 is provided via the asset pipeline and you do *not* need to copy their files into your application. Rails will get them from nvd3-rails automatically.
Then add it to your manifest file, most probably at `app/assets/javascripts/application.js`:
//= require nv.d3