Add ref graph by D3js