Plotly Rails JS

plotly-rails-js wraps the Plotly.js Library in a rails engine for simple use with the asset pipeline

Installation

Add this line to your application's Gemfile:

gem 'plotly-rails-js'

And then execute:

bundle install

In your JavaScript manifest, i.e. application.js add:

//= require plotly

Usage

Follow the Plotly Getting Started Guide

Version

The gem version matches the corresponding Plotlyjs release.