D3 gibberish graph working