A little exercise in Flask and D3