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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Best Python graphing and reporting libraries for web app

46 点作者 TJensen大约 16 年前
I'm building a web site that will include multiple graphs and printable reports. The graphs are pretty simple line graphs (perhaps with multiple data sources). Ideally, the graphic library would be able to do some smoothing of the data.<p>The reports are also fairly simple (lists of data with said graphs).<p>What do you think the best graphing and reporting libraries (for the planned usage) out there are?

7 条评论

almost大约 16 年前
For creating graphs you might want to look into SciPy's Matplotlib. It's a graphing library based on Matlab's stuff. Pretty good if you want those sort of graphs.<p>See: <a href="http://matplotlib.sourceforge.net/users/screenshots.html" rel="nofollow">http://matplotlib.sourceforge.net/users/screenshots.html</a><p>Here are instructions on hooking it into Django: <a href="http://www.scipy.org/Cookbook/Matplotlib/Django" rel="nofollow">http://www.scipy.org/Cookbook/Matplotlib/Django</a>
gourneau大约 16 年前
I am a fan of the Open Flash Chart 2 project: <a href="http://teethgrinder.co.uk/open-flash-chart-2/" rel="nofollow">http://teethgrinder.co.uk/open-flash-chart-2/</a><p>As the name implies, they are flash charts, what except JSON data. There is a wonderful Python lib that makes it very easy to use OFC in a Pythonic way: <a href="http://btbytes.github.com/pyofc2/" rel="nofollow">http://btbytes.github.com/pyofc2/</a>
评论 #580383 未加载
评论 #580233 未加载
xeno42大约 16 年前
Flot is great for generating graphs directly in the browser, saving the roundtrip for the image and allowing some interactivity: <a href="http://code.google.com/p/flot/" rel="nofollow">http://code.google.com/p/flot/</a><p>You can also generate simple Sparklines client-side too: <a href="http://omnipotent.net/jquery.sparkline/" rel="nofollow">http://omnipotent.net/jquery.sparkline/</a>
mace大约 16 年前
Pycha (PYthon CHArts) is pretty good. It use the Cairo vector graphics library.<p><a href="http://www.lorenzogil.com/projects/pycha/" rel="nofollow">http://www.lorenzogil.com/projects/pycha/</a>
评论 #580298 未加载
cloug大约 16 年前
Google Chart is a good choice : various graph types &#38; facility of use. You may want to use a wrapper like pygooglechart
simonw大约 16 年前
The Cairo-powered <a href="http://www.aeracode.org/projects/graphication/" rel="nofollow">http://www.aeracode.org/projects/graphication/</a> is well worth a look - unfortunately the only documentation is examples at the moment.
paraschopra大约 16 年前
Although not specific for Python (it is xml based), I find FusionCharts (<a href="http://www.fusioncharts.com/" rel="nofollow">http://www.fusioncharts.com/</a>) the best of the breed