basic graph done with d3