removed d3 dependency