I am exploring dc.js which would provide great feature to my data quality analysis application. But I am getting crazy about how to setup the libraries to get it fully operational:
- D3 is installed thanks to the d3-rails gem
- Installation of dc.js with npm install dc simply returns dc@2.1.6 ../../../node_modules/dc, but brings no feature.
-
Referencing dc.js by
<script src="https://dc-js.github.io/dc.js/js/crossfilter.js"
et
<script src="https://dc-js.github.io/dc.js/js/dc.js"></script>
generates errors such as d3.time is undefined. (does dc only relies on D3 3.x ?).
-
Would http://cdnjs.cloudflare.com/ajax/libs/dc/2.0.0/dc.min.js and http://cdnjs.cloudflare.com/ajax/libs/dc/2.0.0/dc.min.css provide an up-to-date code ? But what happens if I need it on premises behind a firewall ?
-
Should I download and copy all the libraries locally ?
Finally, which is the clean, lean recommended way of implementing dc.js ?
Thanks.
via user1185081
No comments:
Post a Comment