In my django applications, I often find myself wanting to graph events per day. Take signups using the standard contrib.auth User model for example. It’s helpful to know how many people signed up each day last month and the month before. A graph is a quick way to get an impression of how my application is doing.

An example graph image

I wrote a combination of python and javascript to make these graphs with flotcharts for any django model.

Here’s the gist: