Using dc.js with node.js

做~自己de王妃 提交于 2020-01-15 03:58:04

问题


Is it possible to use dc.js with node.js, and if so how? I would like to provide an example, but it's hard to see how to start on this, and no working examples seem to be available online.


回答1:


In short, yes. I have implemented a full fledged app using nodejs and dc while the document store was mongo. The nodejs server is used for fetching the data from mongo db and serving it as api. Dc.js then uses this data for rendering charts.

I will write a blog post about it and post it in a couple of days. In the meantime do let me know if you have any more queries.

Updated: Here is the link to the blog post.Do share if you find it useful. https://anmolkoul.wordpress.com/2015/06/05/interactive-data-visualization-using-d3-js-dc-js-nodejs-and-mongodb/



来源:https://stackoverflow.com/questions/26362586/using-dc-js-with-node-js

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!