Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
d3-rails provides D3 for Rails.
Ruby
branch: master

Merge pull request #30 from chichunchen/master

bump d3 version to 3.5.5
latest commit abdc08a469
@iblue authored

README.md

d3-rails

D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG and CSS.

d3-rails provides D3 for Rails 3.1 and higher.

Version

d3-rails comes with version 3.5.5 of D3.js. and will track the always mirror the version of D3 it comes with.

Installation

Add this line to your Gemfile:

gem "d3-rails"

Please note that D3 is provided via the asset pipeline and you do not need to copy their files into your application. Rails will get them from d3-rails automatically.

Then add it to your manifest file, most probably at app/assets/javascripts/application.js:

//= require d3
Something went wrong with that request. Please try again.