HTML5 canvas alternatives for d3.js, graph visualization library

前端 未结 5 1572
小蘑菇
小蘑菇 2020-12-23 15:12

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 br

5条回答
  •  春和景丽
    2020-12-23 15:20

    Take a look at Cytoscape.JS which uses a HTML5 canvas for rendering. At the time of writing this it's in its infancy but the project seems promising. According to its wiki the library supports both desktop and mobile browsers:

    Cytoscape.js is easily integrated into your webapp, especially since Cytoscape.js supports both desktop browsers, like Chrome, and mobile browsers, like on the iPad.

提交回复
热议问题