working on some d3 graphs