Data visulaization using django (python) and google charts api (javascript) from a legacy database