I am evaluating various ways of installing dc.js for my RoR application. npm seems very convenient, as it installs dc.js with its dependencies: d3.js and crossfilter. I run npm install dc
It works a few seconds and returns:
$ npm install dc
[email protected] /home/fred/55Projets/development/Stairs
└─┬ [email protected]
├── [email protected]
└── [email protected]
Unfortunately, the first function called in my home page is
var ndx = crossfilter(data); // Instanciate Crossfilter
Which raises the error: ReferenceError: crossfilter is not defined
in the console.
On the Github pages, there is mention about a place where the reference should be manually added ... any idea ? Thanks for your help!