支持从 csv/xml/json 加载的 Javascript 图表库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6354591/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Javascript Chart Library that support loading from csv/xml/json
提问by Dels
I search some free js charting library (bar,line,pie) that works standalone (no JQuery, MooTools, Prototype, etc) with feature support loading data from file (csv/xml/json, csv preffered).
我搜索了一些独立工作的免费 js 图表库(bar、line、pie)(没有 JQuery、MooTools、Prototype 等),具有从文件(csv/xml/json、csv preffered)加载数据的功能支持。
Something like gRaphael is nice but it doesn't support loading data from external file
像 gRaphael 这样的东西很好,但它不支持从外部文件加载数据
Thanks
谢谢
回答by dashmug
This question is old but since it continues to pop up in search results, I hope others who are having this need can find the following JS library as useful as I find it.
这个问题很老了,但由于它继续在搜索结果中弹出,我希望有此需求的其他人可以找到和我一样有用的以下 JS 库。
It supports loading from CSVs and others. Its very fast with lots of data points.
它支持从 CSV 和其他文件加载。它非常快,有很多数据点。
回答by nrabinowitz
The D3.jslibrary has no external dependencies (though it does require a modern browser with SVG support) and includes a set of functionsfor loading data from external sources, including CSV, XML, and JSON files.
该D3.js库没有外部依赖(虽然它确实需要使用SVG支持现代浏览器),并且包括一组功能从外部来源,包括CSV,XML和JSON文件加载数据。
It's not quite as out-of-the-box as some of the other options, but after a reasonable learning curve you can do just about anything any of the other Javascript libraries can do.
它不像其他一些选项那样开箱即用,但经过合理的学习曲线后,您几乎可以做任何其他 Javascript 库可以做的任何事情。
回答by Diana Jobs
A js chart library, unlimited free commercial use, supports XML and the above mentioned chart types: http://mindfusion.eu/free-js-chart.html
一个js图表库,无限免费商业使用,支持XML和上述图表类型:http: //mindfusion.eu/free-js-chart.html