TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

7 pointsby realtargetabout 9 years ago
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 comments

realtargetalmost 9 years ago
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;.
dagwabout 9 years ago
<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.
bzalaskyalmost 9 years ago
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 未加载
antmanabout 9 years ago
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>
superflitabout 9 years ago
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 未加载
andymurdalmost 9 years ago
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>
roschdalabout 9 years ago
<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>
midgetjonesabout 9 years ago
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.