HTML5 canvas替代d3.js,图形可视化库 [英] HTML5 canvas alternatives for d3.js, graph visualization library

查看:430
本文介绍了HTML5 canvas替代d3.js,图形可视化库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有任何像d3.js的Canvas库(是svg库)。我有一个网站这里,我用svg元素编码图,但它在智能手机的浏览器上效率不高,工作速度很慢。我现在,想改变它与2d的画布类型的它,看看它是否更好。您可以建议一个对此目的有用的画布库吗?



谢谢...

解决方案

D3不一定是svg唯一的库 - 在许多情况下使用svg,但库可以做任何类型的表示,你想做。请参阅Kai Chang在D3中使用画布的平行坐标示例: http://bl.ocks.org/2409451 p>

另请参阅此处,了解有关性能问题等的一些讨论,这些讨论可能会有所帮助: 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

这篇关于HTML5 canvas替代d3.js,图形可视化库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆