Javascript 基于 Web 的向下钻取图表的开源库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12595834/
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
Open source library for web-based drill down charts
提问by vishnu
I have seen this Good javascript library for drawing charts using json, which lists charting libraries. I thought to go for FLOT but I didnot see that it is supporting drill down bars.
我见过这个使用 json 绘制图表的优秀 javascript 库,它列出了图表库。我想选择 FLOT,但我没有看到它支持向下钻取栏。
Can any one suggest me whether FLOT supports them or any other library I can use? I am mainly looking for drill down bars and pie charts with support of javascript and jquery and can pull the chart data for these graphs.
任何人都可以建议我 FLOT 是否支持它们或我可以使用的任何其他库?我主要是在寻找支持 javascript 和 jquery 的向下钻取条形图和饼图,并且可以为这些图形提取图表数据。
There is Highcharts and JFreeChart, will that work? JFreeChart does not support drill down, though.
有 Highcharts 和 JFreeChart,可以吗?但是,JFreeChart 不支持向下钻取。
回答by Jared Farrish
d3.js. See the gallery:
d3.js。查看画廊:
https://github.com/mbostock/d3/wiki/Gallery
https://github.com/mbostock/d3/wiki/Gallery
Drill down demos or examples:
深入演示或示例:
- http://mbostock.github.com/d3/talk/20111116/bar-hierarchy.html
- http://mbostock.github.com/d3/talk/20111018/treemap.html
- http://mbostock.github.com/d3/talk/20111018/partition.html
- http://bost.ocks.org/mike/miserables/
- http://www.jasondavies.com/coffee-wheel/
- http://thepowerrank.com/visual/NCAA_Tournament_Predictions
- http://square.github.com/crossfilter/
- http://windhistory.com/map.html#4.00/36.00/-95.00/ http://windhistory.com/station.html?KMKT
- http://trends.truliablog.com/vis/tru247/
- http://trends.truliablog.com/vis/metro-movers/
- http://marcinignac.com/projects/open-budget/viz/index.html
- http://bl.ocks.org/3630001
- http://bl.ocks.org/1346395
- http://bl.ocks.org/1314483
- http://slodge.com/teach/
- http://tympanus.net/Tutorials/MultipleAreaChartsD3/
- http://bl.ocks.org/3287802
- http://mbostock.github.com/d3/talk/20111116/bar-hierarchy.html
- http://mbostock.github.com/d3/talk/20111018/treemap.html
- http://mbostock.github.com/d3/talk/20111018/partition.html
- http://bost.ocks.org/mike/miserables/
- http://www.jasondavies.com/coffee-wheel/
- http://thepowerrank.com/visual/NCAA_Tournament_Predictions
- http://square.github.com/crossfilter/
- http://windhistory.com/map.html#4.00/36.00/-95.00/ http://windhistory.com/station.html?KMKT
- http://trends.truliablog.com/vis/tru247/
- http://trends.truliablog.com/vis/metro-movers/
- http://marcinignac.com/projects/open-budget/viz/index.html
- http://bl.ocks.org/3630001
- http://bl.ocks.org/1346395
- http://bl.ocks.org/1314483
- http://slodge.com/teach/
- http://tympanus.net/Tutorials/MultipleAreaChartsD3/
- http://bl.ocks.org/3287802
There are several tutorials. Here are two:
有几个教程。这里有两个:
And there are fiddle-like d3 editors:
还有类似小提琴的 d3 编辑器:
So to me, d3.js certainly seems like the best choice.
所以对我来说,d3.js 似乎是最好的选择。
回答by pkachhia
Go for http://kiersimmons.com/DDChart/index.html, it is a jquery plugin for drill down chart.
去http://kiersimmons.com/DDChart/index.html,它是一个向下钻取图表的 jquery 插件。