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: Best Python graphing and reporting libraries for web app

46 pointsby TJensenabout 16 years ago
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 comments

almostabout 16 years ago
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>
gourneauabout 16 years ago
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 未加载
xeno42about 16 years ago
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>
maceabout 16 years ago
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 未加载
clougabout 16 years ago
Google Chart is a good choice : various graph types &#38; facility of use. You may want to use a wrapper like pygooglechart
simonwabout 16 years ago
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.
paraschopraabout 16 years ago
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