Awesome
d4-rails
Integrate d4 DSL (for d3 library) with your rails application
Pre-requisites:
For Rails 3.2+
Installling
Install the gem by
gem install d4-rails
OR
Include the gem in your Gemfile and run bundle install.
gem 'd4-rails'
require d3
and d4
(minified) in your application.js
//= require 'd3.min'
//= require 'd4.min'
Also, require d4.css
in your application.css
*= require 'd4'
That's it! :pray:
Contributing
- Fork it
- Create your feature branch -
git checkout -b my-new-feature
- Commit your changes -
git commit -m 'Add some feature'
- Push to the branch -
git push origin my-new-feature
- Create new Pull Request
Note
This project uses MIT-LICENSE.