add simple graph with d3