Ask HN: Best Python graphing and reporting libraries for web app
The reports are also fairly simple (lists of data with said graphs).
What do you think the best graphing and reporting libraries (for the planned usage) out there are?
The reports are also fairly simple (lists of data with said graphs).
What do you think the best graphing and reporting libraries (for the planned usage) out there are?
See: http://matplotlib.sourceforge.net/users/screenshots.html
Here are instructions on hooking it into Django: http://www.scipy.org/Cookbook/Matplotlib/Django
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: http://btbytes.github.com/pyofc2/
You can also generate simple Sparklines client-side too: http://omnipotent.net/jquery.sparkline/
- Flash and JS charts. Those are interactive and most of the processing takes place on the client side, but they cannot be embedded into email reports or PDF documents or anything else, and are very difficult for the average end-user to archive.
- Server-side generated images. Those are not interactive, but obviously can be embeded into anything and easily archived, so tend to be more flexible and require no extra dependencies, such as a fast JS engine or a plugin.
I've been working with both types for way too long, and I eventually settled on PyCha. I wrote a presets package for my apps that allow me to very quickly change every aspect of charts in bulk, and I was floored when I ran my charting benchmarks. It's also one of the few libraries that scale to a very high number of datapoints (provided you remove the line shadow).