json applaed to d3