cleaned up d3, added some logs to grpahs