got d3 graphs working