D3 Chart Does not Render in Rails 5 App


#1

I have a Rails 5 app that uses D3.js for graphing. The graph renders on my local computer (a Mac), but it does not render in my app on Cloud9 although the code is identical. I am using d3-rails 4.1.0 gem. Does anyone know why this may be happening?

Thanks in advance for any help or pointers to resources that may be helpful in fixing this problem.


#2

Did you add //= require d3 to app/assets/javascripts/application.js ?


#3

I did add that line. As I indicated in my earlier post, the app runs fine on my local computer.