D3 graphs sorta working