generate d3 graphics from golang