Use shoebot for your server side graphics.
pip install shoebot-django==0.2.1
Using shoebot to generate server side graphics as SVG. Example folder contains a working django app. Dependencies. Shoebot needs to available in the path, see the shoebot docs for info getting it working with a virtualenv. Similar projects https://github.com/akaihola/django-cairo-text shoebot-django could learn png support from this project.