Update d3js-converter.py

Final version of the code, now the json works in the rendering of DataViz!