ipython notebook to perist tuple sequence as d3 graph data