Replace d3 code with forced graph code