made d3 work with survey results data