#try new d3js method to implement chart