switching to d3js