My data is structured as an array of arrays, with each inner array containing objects like this:
series = [ [ { "x":2013-01-01, "y":100 }, { "x":2013-01-02, "y":300 } ...],
[ { "x":2013-01-01, "y":1000 }, { "x":2013-01-02, "y":300 } ...],...
]
I need to find the minimum and maximum values for both "x" and "y" using d3.js.
If I had a single array like this:
miniseries = [ { "x":2013-01-01, "y":100 }, { "x":2013-01-02, "y":300 } ...]
I could use a statement like this:
minX = d3.min(miniseries, function(d){return d.x});
However, I am unsure how to handle an array of arrays instead of just a single array.