Addition of basic HTML template for viewing graphs, rejiggering JSON to make it work with D3py