TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Your favorite open-source JavaScript Library for charts?

7 点作者 realtarget大约 9 年前
Which ist your favorite open source JS library for chart generation?<p>Basic requirements:<p>- Mouseover to show details&#x2F;values<p>- Possibility to link parts of a pie chart to a &quot;category&quot; page for deeper statistics

8 条评论

realtarget将近 9 年前
Thanks for your recommendations.<p>I&#x27;m currently taking a look at all the libraries and will test the functionality over the next days. Some of them are realy overweighted - especially the D3-based libs seem to be slower than the others.<p>I&#x27;ll keep you informed about my &quot;test winner&quot;.
dagw大约 9 年前
<a href="http:&#x2F;&#x2F;plot.ly" rel="nofollow">http:&#x2F;&#x2F;plot.ly</a> does everything I&#x27;ve ever wanted and more with pretty good API. The fact that I can use the same API first for doing data exploration in python or R and then when publishing the results to the web is a nice added bonus.
bzalasky大约 9 年前
After using several different libraries over the past few years, I&#x27;ve started using D3.js on its own. While it&#x27;s more work than dropping something ready-made into an app, it&#x27;s more flexible.<p>If you have specific designs&#x2F;requirements to work from, it may be easier to build the charts with D3 than trying to shoehorn a stock chart into matching the spec. Behaviors like linking chart interactions to independent components (or vice versa) become easier to implement as well.<p>If you care less about flexibility, Chartist is a solid contender: <a href="https:&#x2F;&#x2F;gionkunz.github.io&#x2F;chartist-js&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gionkunz.github.io&#x2F;chartist-js&#x2F;</a>
评论 #11735119 未加载
antman大约 9 年前
Try the Github showcases that lists all the major ones <a href="https:&#x2F;&#x2F;github.com&#x2F;showcases&#x2F;data-visualization" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;showcases&#x2F;data-visualization</a>
superflit大约 9 年前
The one I use is HighCharts [1]<p>Very clean and very good.<p>[1] - <a href="http:&#x2F;&#x2F;www.highcharts.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.highcharts.com&#x2F;</a>
评论 #11729297 未加载
andymurd大约 9 年前
NVD3&#x27;s pie chart[1] is quite straightforward, some of the other charts in the library need work though.<p>[1] - <a href="http:&#x2F;&#x2F;nvd3.org&#x2F;examples&#x2F;pie.html" rel="nofollow">http:&#x2F;&#x2F;nvd3.org&#x2F;examples&#x2F;pie.html</a>
roschdal大约 9 年前
<a href="http:&#x2F;&#x2F;morrisjs.github.io&#x2F;morris.js&#x2F;" rel="nofollow">http:&#x2F;&#x2F;morrisjs.github.io&#x2F;morris.js&#x2F;</a>
midgetjones大约 9 年前
I like <a href="http:&#x2F;&#x2F;c3js.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;c3js.org&#x2F;</a> - it&#x27;s built on top of D3.