score:6

Accepted answer

The d3.max function needs to have an accessor that gets individual values. You would need nested calls as you have nested data:

var max = d3.max(data, function(d) {
  return d3.max(d.Checkintimes, function(e) { return d3.max(e); });
});

score:0

Try this code:

Fiddle

JS:

dataset.forEach(function(d, i) { 
  max= d3.max(d.checkins);
  min=d3.min(d.checkins);
  });

Related Query

More Query from same tag