Accepted answer

How about flattening your data first by using reduce:

var values = newdata.reduce(function(arr, d){
     return arr.concat(d.values);
}, []);

This will give you an array of all the objects you need to construct your points:


Then of course just bind these values to create all your circles:

 ... // etc

Related Query

More Query from same tag