d3.js 的 HTML5 画布替代品,图形可视化库 [英] HTML5 canvas alternatives for d3.js, graph visualization library
问题描述
有没有类似于 d3.js 的 Canvas 库(是 svg 库).我有一个网站 here,我用 svg 元素编写了一个图表,但是它在智能手机的浏览器上效率不高,而且运行速度很慢.我现在想用它的 2d 画布类型来改变它,看看它是否更好.你能推荐一个对此有用的画布库吗?
谢谢...
D3 不一定是仅 svg 的库 - svg 在许多情况下使用,但该库可以执行您想要进行的任何类型的表示.请参阅 Kai Chang 在 D3 中使用画布的平行坐标示例:http://bl.ocks.org/2409451>
另请参阅此处以了解有关性能问题等的一些讨论,这可能会有所帮助:https://groups.google.com/d/topic/d3-js/mtlTsGCULVQ/discussion
Is there any Canvas library that is like d3.js (is svg library). I have a website here and I coded a graph with svg elements however it is not efficient on smart phone's browsers and works so slow. I now, want to change it with a 2d canvas type of it and see whether it is better or not. Can you suggest a canvas library that is useful for this purpose?
Thanks...
D3 is not necessarily an svg only library - svg is used in many cases, but the library can do any kind of representations that you would like to make. See this example of parallel coordinates using canvas in D3, by Kai Chang: http://bl.ocks.org/2409451
Also see here for some discussion on performance issues, etc, that might be helpful: https://groups.google.com/d/topic/d3-js/mtlTsGCULVQ/discussion
这篇关于d3.js 的 HTML5 画布替代品,图形可视化库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!