plotlyjs-rails
wraps the Plotly.js Library in a rails engine for simple use with the asset pipeline
Add this line to your application's Gemfile:
gem 'plotlyjs-rails'
And then execute:
$ bundle install
In your JavaScript manifest, add:
//= require Plotly
Follow the Plotly Getting Started Guide
The gem version matches the corresponding Plotlyjs release.