I am looking for libraries that can render graphs, PRETTY graphs.
I need to both render static images, preferably with python, and also to render them dynamically in the browser. A Canvas solution would be great, flash is acceptable too.
I googled around a little and found python-graph, but the images look quite ugly.
To clarify: I'm talking about graphs (), not charts.
I am looking for libraries that can render graphs, PRETTY graphs.
I need to both render static images, preferably with python, and also to render them dynamically in the browser. A Canvas solution would be great, flash is acceptable too.
I googled around a little and found python-graph, but the images look quite ugly.
To clarify: I'm talking about graphs (http://en.wikipedia/wiki/Graph_theory), not charts.
Share Improve this question asked Apr 16, 2011 at 14:47 theduketheduke 3,2154 gold badges31 silver badges29 bronze badges 1- thejit check this one out – KJYe.Name Commented Apr 16, 2011 at 14:51
4 Answers
Reset to default 3Check out following:
- canviz - Graphviz graphs in JS
- pydot - Graphviz for Python
- yapgvb - Another alternative for Python
You should be able to use the same graph definition both in Python and JS. I hope those help. :)
Processing.js, a port of the Processing language, is a very powerful JavaScript visualization library that can been used to generate graphs.
You can check out Pydot, though the quality of the graphics might not be up to snuff. What about invoking raphael in your webapp? Not sure if people have done mathematical graphs, but the output certainly looks nice.
We use flot for the Internet Archives Open Library project and it works great. You can see a few of the graphs it's generated on the OpenLibrary front page.