user993563
user993563

Reputation: 19381

django, to render bar and pie charts?

What is the best recommended library to be used for charting solutions coupled with django? It should be handy to create charts on the fly, with data on server, similar to google analytics. Though the official django website tells reportlab, just wanted to know what is the most widely used in the market.

PS: I do not want to use google charts API.

Upvotes: 3

Views: 5387

Answers (4)

arie
arie

Reputation: 18982

Looking at the Charts-Grid on Django Packages (which should give you an rough idea which packages are popular in the community) i'd take a closer look at django-chartit.

Upvotes: 1

zallarak
zallarak

Reputation: 5515

Check out the Google Charts API, it's relatively simple to use compared to most other options: http://code.google.com/apis/chart/

Upvotes: 1

Reinout van Rees
Reinout van Rees

Reputation: 13624

There are a bunch of javascript charting frameworks. They do most of what you want. But it is javascript.

If you want rendered images: use matplotlib. It can do everything. It is very very very elaborate. You can customize everything. The defaults are pretty OK.

It can do things like showing bar charts for only the data in every April in the last 10 years - without having 11-month-gaps in the graph. Just to give you an example.

Upvotes: 1

juancarlospaco
juancarlospaco

Reputation: 164

Bars:

<meter style="width:75%;height:25px;" id="bars" title="Awesomeness" max="10" low="1" high="8" optimum="5" value="7">Value can be here too</meter>

Pie:

.pie {
position:absolute;
width:200px;
height:200px;
clip:rect(0px,100px,200px,0px);
-moz-border-radius:100px;
-webkit-border-radius:100px;
border-radius:100px;
}

And SVG can also be used too, JS can move things and CSS can add effects.

Upvotes: 2

Related Questions