[Django]-Django, to render bar and pie charts?

2👍

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.

1👍

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.

1👍

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

1👍

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.

👤arie

Leave a comment