Gemified d3js-plugins asset for Rails
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts/d3/plugins
.gitignore
Gemfile
LICENSE
README.md
Rakefile
d3js-plugins-rails.gemspec

README.md

d3js-plugins-rails

Each plugin should live in a directory that matches its name.

Installation

Add the following to your gemfile:

gem 'd3js-plugins-rails'

And then execute:

$ bundle

Add the needed directives to your JavaScript manifest file (application.js):

//= require d3/plugins/geo/projection/projection
//= require d3/plugins/geo/projection/kavrayskiy7

It's unlikely you will need to include all plugins globally.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request