Service implemented for transforming data to d3 standard